Skip to content

Commit 96a663a

Browse files
authored
Merge pull request #1352 from serg3295/fix_lfs
fix typos in annotation
2 parents 67301c3 + cae5753 commit 96a663a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

meta/3rd/lfs/library/lfs.lua

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ In case of any errors it returns nil and the error message. In particular, if th
6262
function lfs.lock_dir(path, seconds_stale)
6363
end
6464

65-
---comment Returns a string with the current working directory or nil plus an error string.
65+
---Returns a string with the current working directory or nil plus an error string.
6666
---@return string
6767
function lfs.currentdir()
6868
end
@@ -101,11 +101,6 @@ end
101101
--[[
102102
Creates a new directory. The argument is the name of the new directory.
103103
Returns true in case of success or nil, an error message and a system-dependent error code in case of error.
104-
lfs.rmdir (dirname)
105-
Removes an existing directory. The argument is the name of the directory.
106-
Returns true in case of success or nil, an error message and a system-dependent error code in case of error.
107-
lfs.setmode (file, mode)
108-
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.
109104
]]
110105
---@param dirname string
111106
---@return boolean, string
@@ -161,4 +156,4 @@ Returns true if the operation was successful; in case of error, it returns nil p
161156
function lfs.unlock(filehandle, start, length)
162157
end
163158

164-
return lfs
159+
return lfs

0 commit comments

Comments
 (0)