diff options
author | serg3295 <serg3295@gmail.com> | 2022-07-19 08:33:54 +0300 |
---|---|---|
committer | serg3295 <serg3295@gmail.com> | 2022-07-19 08:33:54 +0300 |
commit | cae5753d06cfb7d77cd0e998ea9ffe547d56518a (patch) | |
tree | 5a83f449438e1ed5d4412105c80549611a7cb371 /meta | |
parent | 67301c33eafa7a46a8b6e05fec8aac27539f4a05 (diff) | |
download | lua-language-server-cae5753d06cfb7d77cd0e998ea9ffe547d56518a.zip |
fix typos in annotation
Diffstat (limited to 'meta')
-rw-r--r-- | meta/3rd/lfs/library/lfs.lua | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/3rd/lfs/library/lfs.lua b/meta/3rd/lfs/library/lfs.lua index babbd156..76f457b7 100644 --- a/meta/3rd/lfs/library/lfs.lua +++ b/meta/3rd/lfs/library/lfs.lua @@ -62,7 +62,7 @@ In case of any errors it returns nil and the error message. In particular, if th function lfs.lock_dir(path, seconds_stale) end ----comment Returns a string with the current working directory or nil plus an error string. +---Returns a string with the current working directory or nil plus an error string. ---@return string function lfs.currentdir() end @@ -101,11 +101,6 @@ end --[[ Creates a new directory. The argument is the name of the new directory. Returns true in case of success or nil, an error message and a system-dependent error code in case of error. - lfs.rmdir (dirname) - Removes an existing directory. The argument is the name of the directory. - Returns true in case of success or nil, an error message and a system-dependent error code in case of error. - lfs.setmode (file, mode) - Sets the writing mode for a file. The mode string can be either "binary" or "text". Returns true followed the previous mode string for the file, or nil followed by an error string in case of errors. On non-Windows platforms, where the two modes are identical, setting the mode has no effect, and the mode is always returned as binary. ]] ---@param dirname string ---@return boolean, string @@ -161,4 +156,4 @@ Returns true if the operation was successful; in case of error, it returns nil p function lfs.unlock(filehandle, start, length) end -return lfs
\ No newline at end of file +return lfs |