mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-24 12:23:08 +00:00
Fix anchor names in documentation
This commit is contained in:
@@ -177,7 +177,7 @@ LuaFileSystem offers the following functions:
|
|||||||
Returns <code>true</code> in case of success or <code>nil</code> plus an
|
Returns <code>true</code> in case of success or <code>nil</code> plus an
|
||||||
error string.</dd>
|
error string.</dd>
|
||||||
|
|
||||||
<dt><a name="chdir"></a><strong><code>lfs.lock_dir(path, [seconds_stale])</code></strong></dt>
|
<dt><a name="lock_dir"></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 if
|
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
|
||||||
@@ -187,7 +187,7 @@ LuaFileSystem offers the following functions:
|
|||||||
particular, if the lock exists and is not stale it returns the
|
particular, if the lock exists and is not stale it returns the
|
||||||
"File exists" message.</dd>
|
"File exists" message.</dd>
|
||||||
|
|
||||||
<dt><a name="getcwd"></a><strong><code>lfs.currentdir ()</code></strong></dt>
|
<dt><a name="currentdir"></a><strong><code>lfs.currentdir ()</code></strong></dt>
|
||||||
<dd>Returns a string with the current working directory or <code>nil</code>
|
<dd>Returns a string with the current working directory or <code>nil</code>
|
||||||
plus an error string.</dd>
|
plus an error string.</dd>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user