diff options
Diffstat (limited to 'doc/us/manual.html')
| -rw-r--r-- | doc/us/manual.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/us/manual.html b/doc/us/manual.html index beffe03..3555e3d 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html | |||
| @@ -177,7 +177,7 @@ LuaFileSystem offers the following functions: | |||
| 177 | Returns <code>true</code> in case of success or <code>nil</code> plus an | 177 | Returns <code>true</code> in case of success or <code>nil</code> plus an |
| 178 | error string.</dd> | 178 | error string.</dd> |
| 179 | 179 | ||
| 180 | <dt><a name="chdir"></a><strong><code>lfs.lock_dir(path, [seconds_stale])</code></strong></dt> | 180 | <dt><a name="lock_dir"></a><strong><code>lfs.lock_dir(path, [seconds_stale])</code></strong></dt> |
| 181 | <dd>Creates a lockfile (called lockfile.lfs) in <code>path</code> if it does not | 181 | <dd>Creates a lockfile (called lockfile.lfs) in <code>path</code> if it does not |
| 182 | exist and returns the lock. If the lock already exists checks if | 182 | exist and returns the lock. If the lock already exists checks if |
| 183 | it's stale, using the second parameter (default for the second | 183 | it's stale, using the second parameter (default for the second |
| @@ -187,7 +187,7 @@ LuaFileSystem offers the following functions: | |||
| 187 | particular, if the lock exists and is not stale it returns the | 187 | particular, if the lock exists and is not stale it returns the |
| 188 | "File exists" message.</dd> | 188 | "File exists" message.</dd> |
| 189 | 189 | ||
| 190 | <dt><a name="getcwd"></a><strong><code>lfs.currentdir ()</code></strong></dt> | 190 | <dt><a name="currentdir"></a><strong><code>lfs.currentdir ()</code></strong></dt> |
| 191 | <dd>Returns a string with the current working directory or <code>nil</code> | 191 | <dd>Returns a string with the current working directory or <code>nil</code> |
| 192 | plus an error string.</dd> | 192 | plus an error string.</dd> |
| 193 | 193 | ||
| @@ -242,6 +242,8 @@ LuaFileSystem offers the following functions: | |||
| 242 | <dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, aname])</code></strong></dt> | 242 | <dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, aname])</code></strong></dt> |
| 243 | <dd>Identical to <a href="#attributes">lfs.attributes</a> except that | 243 | <dd>Identical to <a href="#attributes">lfs.attributes</a> except that |
| 244 | it obtains information about the link itself (not the file it refers to). | 244 | it obtains information about the link itself (not the file it refers to). |
| 245 | It also adds a <strong><code>target</code></strong> field, containing | ||
| 246 | the file name that the symlink points to. | ||
| 245 | On Windows this function does not yet support links, and is identical to | 247 | On Windows this function does not yet support links, and is identical to |
| 246 | <code>lfs.attributes</code>. | 248 | <code>lfs.attributes</code>. |
| 247 | </dd> | 249 | </dd> |
