Debian Codegraph @

docs/index.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <title>LuaFileSystem</title>
6 <link rel="stylesheet" href="doc.css" type="text/css"/>
7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
8 </head>
9
10 <body>
11
12 <div id="container">
13
14 <div id="product">
15 <div id="product_logo">
16 <a href="http://lunarmodules.github.io/luafilesystem">
17 <img alt="LuaFileSystem" src="luafilesystem.png"/>
18 </a>
19 </div>
20 <div id="product_name"><big><strong>LuaFileSystem</strong></big></div>
21 <div id="product_description">File System Library for the Lua Programming Language</div>
22 </div> <!-- id="product" -->
23
24 <div id="main">
25
26 <div id="navigation">
27 <h1>LuaFileSystem</h1>
28 <ul>
29 <li><strong>Home</strong>
30 <ul>
31 <li><a href="index.html#overview">Overview</a></li>
32 <li><a href="index.html#status">Status</a></li>
33 <li><a href="index.html#download">Download</a></li>
34 <li><a href="index.html#history">History</a></li>
35 <li><a href="index.html#credits">Credits</a></li>
36 </ul>
37 </li>
38 <li><a href="manual.html">Manual</a>
39 <ul>
40 <li><a href="manual.html#introduction">Introduction</a></li>
41 <li><a href="manual.html#building">Building</a></li>
42 <li><a href="manual.html#installation">Installation</a></li>
43 <li><a href="manual.html#reference">Reference</a></li>
44 </ul>
45 </li>
46 <li><a href="examples.html">Examples</a></li>
47 <li><a href="https://github.com/lunarmodules/luafilesystem">Project</a>
48 <ul>
49 <li><a href="https://github.com/lunarmodules/luafilesystem/issues">Bug Tracker</a></li>
50 <li><a href="https://github.com/lunarmodules/luafilesystem">Git</a></li>
51 </ul>
52 </li>
53 <li><a href="license.html">License</a></li>
54 </ul>
55 </div> <!-- id="navigation" -->
56
57 <div id="content">
58
59 <h2><a name="overview"></a>Overview</h2>
60
61 <p>LuaFileSystem is a <a href="http://www.lua.org">Lua</a> library
62 developed to complement the set of functions related to file
63 systems offered by the standard Lua distribution.</p>
64
65 <p>LuaFileSystem offers a portable way to access
66 the underlying directory structure and file attributes.</p>
67
68 <p>LuaFileSystem is free software and uses the same
69 <a href="license.html">license</a> as Lua 5.x (MIT).</p>
70
71 <h2><a name="status"></a>Status</h2>
72
73 <p>Current version is 1.9.0. It works with Lua 5.1 to Lua 5.5, and it runs on various
74 flavors of Unix (including Linux, BSDs, macOS) and Windows.</p>
75
76 <h2><a name="download"></a>Download</h2>
77
78 <p>LuaFileSystem can be installed using <a href="https://luarocks.org">LuaRocks</a>:
79
80 <pre class="example">
81 $ luarocks install luafilesystem
82 </pre>
83
84 <p>Its source can be found at its <a href="http://github.com/lunarmodules/luafilesystem">GitHub</a> page.</p>
85
86 <h2><a name="history"></a>History</h2>
87
88 <dl class="history">
89 <dt><strong>Version 1.9.0</strong> [28/Dec/2025]</dt>
90 <dd><ul>
91 <li>Lua 5.5 support</li>
92 <li>Fixed some compiler warnings</li>
93 <li>Assorted improvements for Windows</li>
94 </ul></dd>
95
96 <dt><strong>Version 1.8.0</strong> [22/Apr/2020]</dt>
97 <dd><ul>
98 <li>Lua 5.4 support</li>
99 <li>lfs.link and lfs.symlinkattributes now work on Windows</li>
100 <li>MACOSX_DEPLOYMENT_TARGET is configurable in the Makefile</li>
101 <li>Fallback to _POSIX_PATH_MAX when MAXPATHLEN is not avaliable</li>
102 <li>Fixed memory leak in case of realloc failure</li>
103 </ul></dd>
104
105 <dt><strong>Version 1.7.0</strong> [15/Sep/2017]</dt>
106 <dd><ul>
107 <li>symlinkattributes function now provides 'target' field, containing name of the file that the symlink points to.</li>
108 <li>attributes, symlinkattributes, touch, mkdir, and rmdir functions now return system-dependent error code as the third value on error.</li>
109 <li>Fixed detection of closed files for Lua 5.2+ in setmode, lock, and unlock functions.</li>
110 <li>Fixed various compiler warnings.</li>
111 </ul></dd>
112
113 <dt><strong>Version 1.6.3</strong> [15/Jan/2015]</dt>
114 <dd><ul>
115 <li>Lua 5.3 support.</li>
116 <li>Assorted bugfixes.</li>
117 </ul></dd>
118
119 <dt><strong>Version 1.6.2</strong> [??/Oct/2012]</dt>
120 <dd><ul>
121 <li>Full Lua 5.2 compatibility (with Lua 5.1 fallbacks)</li>
122 </ul></dd>
123
124 <dt><strong>Version 1.6.1</strong> [01/Oct/2012]</dt>
125 <dd><ul>
126 <li>fix build for Lua 5.2</li>
127 </ul></dd>
128
129 <dt><strong>Version 1.6.0</strong> [26/Sep/2012]</dt>
130 <dd><ul>
131 <li>getcwd fix for Android</li>
132 <li>support for Lua 5.2</li>
133 <li>add lfs.link</li>
134 <li>other bug fixes</li>
135 </ul></dd>
136
137 <dt><strong>Version 1.5.0</strong> [20/Oct/2009]</dt>
138 <dd><ul>
139 <li>Added explicit next and close methods to second return value of lfs.dir
140 (the directory object), for explicit iteration or explicit closing.</li>
141 <li>Added directory locking via lfs.lock_dir function (see the <a href="manual.html">manual</a>).</li>
142 </ul></dd>
143 <dt><strong>Version 1.4.2</strong> [03/Feb/2009]</dt>
144 <dd>
145 <ul>
146 <li>fixed bug
147 <code>lfs.attributes(filename, 'size')</code> overflow on files > 2 Gb again (bug report and patch by KUBO Takehiro).</li>
148 <li>fixed bug
149 Compile error on Solaris 10 (bug report and patch by Aaron B).</li>
150 <li>fixed compilation problems with Borland C.</li>
151 </ul>
152 </dd>
153
154 <dt><strong>Version 1.4.1</strong> [07/May/2008]</dt>
155 <dd>
156 <ul>
157 <li>documentation review</li>
158 <li>fixed Windows compilation issues</li>
159 <li>fixed bug in the Windows tests (patch by Shmuel Zeigerman)</li>
160 <li>fixed bug
161 <code>lfs.attributes(filename, 'size')</code> overflow on files > 2 Gb
162 </li>
163 </ul>
164 </dd>
165
166 <dt><strong>Version 1.4.0</strong> [13/Feb/2008]</dt>
167 <dd>
168 <ul>
169 <li>added function
170 <a href="manual.html#setmode"><code>lfs.setmode</code></a>
171 (works only in Windows systems).</li>
172 <li><a href="manual.html#attributes"><code>lfs.attributes</code></a>
173 raises an error if attribute does not exist</li>
174 </ul>
175 </dd>
176
177 <dt><strong>Version 1.3.0</strong> [26/Oct/2007]</dt>
178 <dd>
179 <ul>
180 <li>added function
181 <a href="manual.html#symlinkattributes"><code>lfs.symlinkattributes</code></a>
182 (works only in non Windows systems).</li>
183 </ul>
184 </dd>
185
186 <dt><strong>Version 1.2.1</strong> [08/May/2007]</dt>
187 <dd>
188 <ul>
189 <li>compatible only with Lua 5.1 (Lua 5.0 support was dropped)</li>
190 </ul>
191 </dd>
192
193 <dt><strong>Version 1.2</strong> [15/Mar/2006]</dt>
194 <dd>
195 <ul>
196 <li>added optional argument to
197 <a href="manual.html#attributes"><code>lfs.attributes</code></a></li>
198 <li>added function
199 <a href="manual.html#rmdir"><code>lfs.rmdir</code></a></li>
200 <li>bug correction on <a href="manual.html#dir"><code>lfs.dir</code></a></li>
201 </ul>
202 </dd>
203
204 <dt><strong>Version 1.1</strong> [30/May/2005]</dt>
205 <dd>
206 <ul>
207 <li>added function <a href="manual.html#touch"><code>lfs.touch</code></a>.</li>
208 </ul>
209 </dd>
210
211 <dt><strong>Version 1.0</strong> [21/Jan/2005]</dt>
212 <dd />
213
214 <dt><strong>Version 1.0 Beta</strong> [10/Nov/2004]</dt>
215 <dd />
216 </dl>
217
218 <h2><a name="credits"></a>Credits</h2>
219
220 <p>The LuaFileSystem library was originally designed and
221 implemented by Roberto Ierusalimschy, Andr&eacute; Carregal and
222 Tom&aacute;s Guisasola. It was then maintained by F&aacute;bio
223 Mascarenhas for several years and has since been maintained
224 by many contributors -- see the Git history for detailed credits.</p>
225
226 </div> <!-- id="content" -->
227
228 </div> <!-- id="main" -->
229
230 <div id="about">
231 <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p>
232 </div> <!-- id="about" -->
233
234 </div> <!-- id="container" -->
235
236 </body>
237 </html>