mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-24 12:23:08 +00:00
Fix typo in manual.
This commit is contained in:
@@ -174,7 +174,7 @@ LuaFileSystem offers the following functions:
|
|||||||
|
|
||||||
<dt><a name="chdir"></a><strong><code>lfs.lock_dir(path, [seconds_stale])</code></strong></dt>
|
<dt><a name="chdir"></a><strong><code>lfs.lock_dir(path, [seconds_stale])</code></strong></dt>
|
||||||
<dd>Creates a lockfile (called lockfile.lfs) in <code>path</code> if it does not
|
<dd>Creates a lockfile (called lockfile.lfs) in <code>path</code> if it does not
|
||||||
exist and returns the lock. If the lock already exists checks it
|
exist and returns the lock. If the lock already exists checks if
|
||||||
it's stale, using the second parameter (default for the second
|
it's stale, using the second parameter (default for the second
|
||||||
parameter is <code>INT_MAX</code>, which in practice means the lock will never
|
parameter is <code>INT_MAX</code>, which in practice means the lock will never
|
||||||
be stale. To free the the lock call <code>lock:free()</code>. <br/>
|
be stale. To free the the lock call <code>lock:free()</code>. <br/>
|
||||||
|
|||||||
Reference in New Issue
Block a user