Add trivial link_info support on Windows (using STAT_FUNC).

This commit is contained in:
Reuben Thomas
2011-06-09 14:01:37 +01:00
parent d292b3243f
commit 530c9140c7
3 changed files with 8 additions and 17 deletions

View File

@@ -228,8 +228,8 @@ LuaFileSystem offers the following functions:
<dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, aname])</code></strong></dt>
<dd>Identical to <a href="#attributes">lfs.attributes</a> except that
it obtains information about the link itself (not the file it refers to).
This function is not available in Windows so you may want to make sure that
<code>lfs.symlinkattributes</code> exists before using it.
On Windows this function does not yet support links, and is identical to
<code>lfs.attributes</code>.
</dd>
<dt><a name="touch"></a><strong><code>lfs.touch (filepath [, atime [, mtime]])</code></strong></dt>