diff options
| author | Reuben Thomas <rrt@sc3d.org> | 2011-06-09 19:49:29 +0100 |
|---|---|---|
| committer | Reuben Thomas <rrt@sc3d.org> | 2011-06-09 19:53:41 +0100 |
| commit | 3cea6c6e9612ca2b04b4742c04721d24f4b316be (patch) | |
| tree | a3ad538475091c20bf9e4766afb6064a72c855fb /doc | |
| parent | 7e979318bd3d237b4fbf8da17b3ece75ac0343ba (diff) | |
| download | luafilesystem-3cea6c6e9612ca2b04b4742c04721d24f4b316be.tar.gz luafilesystem-3cea6c6e9612ca2b04b4742c04721d24f4b316be.tar.bz2 luafilesystem-3cea6c6e9612ca2b04b4742c04721d24f4b316be.zip | |
Add lfs.link.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/us/manual.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/us/manual.html b/doc/us/manual.html index a7e2efb..996dc1f 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html | |||
| @@ -206,6 +206,13 @@ LuaFileSystem offers the following functions: | |||
| 206 | Returns <code>true</code> if the operation was successful; in | 206 | Returns <code>true</code> if the operation was successful; in |
| 207 | case of error, it returns <code>nil</code> plus an error string. | 207 | case of error, it returns <code>nil</code> plus an error string. |
| 208 | </dd> | 208 | </dd> |
| 209 | |||
| 210 | <dt><a name="link"></a><strong><code>lfs.link (old, new[, symlink])</code></strong></dt> | ||
| 211 | <dd>Creates a link. The first argument is the object to link to | ||
| 212 | and the second is the name of the link. If the optional third | ||
| 213 | argument is true, the link will by a symbolic link (by default, a | ||
| 214 | hard link is created). | ||
| 215 | </dd> | ||
| 209 | 216 | ||
| 210 | <dt><a name="mkdir"></a><strong><code>lfs.mkdir (dirname)</code></strong></dt> | 217 | <dt><a name="mkdir"></a><strong><code>lfs.mkdir (dirname)</code></strong></dt> |
| 211 | <dd>Creates a new directory. The argument is the name of the new | 218 | <dd>Creates a new directory. The argument is the name of the new |
