Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html « docs - github.com/keplerproject/luafilesystem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4f056e91f2c31832be6059f85ac38d02391bd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>LuaFileSystem</title>
    <link rel="stylesheet" href="doc.css" type="text/css"/>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>

<body>

<div id="container">

<div id="product">
	<div id="product_logo">
        <a href="http://keplerproject.github.io/luafilesystem">
		<img alt="LuaFileSystem" src="luafilesystem.png"/>
	    </a>
    </div>
	<div id="product_name"><big><strong>LuaFileSystem</strong></big></div>
	<div id="product_description">File System Library for the Lua Programming Language</div>
</div> <!-- id="product" -->

<div id="main">
	
<div id="navigation">
<h1>LuaFileSystem</h1>
	<ul>
		<li><strong>Home</strong>
			<ul> 
				<li><a href="index.html#overview">Overview</a></li>
				<li><a href="index.html#status">Status</a></li>
				<li><a href="index.html#download">Download</a></li>
				<li><a href="index.html#history">History</a></li>
				<li><a href="index.html#credits">Credits</a></li>
			</ul>
		</li>
		<li><a href="manual.html">Manual</a>
			<ul>
				<li><a href="manual.html#introduction">Introduction</a></li>
				<li><a href="manual.html#building">Building</a></li>
				<li><a href="manual.html#installation">Installation</a></li>
				<li><a href="manual.html#reference">Reference</a></li>
			</ul>
		</li>
		<li><a href="examples.html">Examples</a></li>
        <li><a href="https://github.com/keplerproject/luafilesystem">Project</a>
            <ul>
                <li><a href="https://github.com/keplerproject/luafilesystem/issues">Bug Tracker</a></li>
                <li><a href="https://github.com/keplerproject/luafilesystem">Git</a></li>
            </ul>
        </li>
		<li><a href="license.html">License</a></li>
	</ul>
</div> <!-- id="navigation" -->

<div id="content">

<h2><a name="overview"></a>Overview</h2>

<p>LuaFileSystem is a <a href="http://www.lua.org">Lua</a> library
developed to complement the set of functions related to file
systems offered by the standard Lua distribution.</p>

<p>LuaFileSystem offers a portable way to access
the underlying directory structure and file attributes.</p>

<p>LuaFileSystem is free software and uses the same
<a href="license.html">license</a> as Lua 5.x (MIT).</p>

<h2><a name="status"></a>Status</h2>

<p>Current version is 1.8.0. It works with Lua 5.1, 5.2, 5.3 and 5.4, and it runs on various
flavors of Unix (including Linux, BSDs, macOS) and Windows.</p>

<h2><a name="download"></a>Download</h2>

<p>LuaFileSystem can be installed using <a href="https://luarocks.org">LuaRocks</a>:

<pre class="example">
$ luarocks install luafilesystem
</pre>

<p>Its source can be found at its <a href="http://github.com/keplerproject/luafilesystem">GitHub</a> page.</p>

<h2><a name="history"></a>History</h2>

<dl class="history">
    <dt><strong>Version 1.8.0</strong> [22/Apr/2020]</dt>
    <dd><ul>
        <li>Lua 5.4 support</li>
        <li>lfs.link and lfs.symlinkattributes now work on Windows</li>
        <li>MACOSX_DEPLOYMENT_TARGET is configurable in the Makefile</li>
        <li>Fallback to _POSIX_PATH_MAX when MAXPATHLEN is not avaliable</li>
        <li>Fixed memory leak in case of realloc failure</li>
    </ul></dd>

    <dt><strong>Version 1.7.0</strong> [15/Sep/2017]</dt>
    <dd><ul>
        <li>symlinkattributes function now provides 'target' field, containing name of the file that the symlink points to.</li>
        <li>attributes, symlinkattributes, touch, mkdir, and rmdir functions now return system-dependent error code as the third value on error.</li>
        <li>Fixed detection of closed files for Lua 5.2+ in setmode, lock, and unlock functions.</li>
        <li>Fixed various compiler warnings.</li>
    </ul></dd>

	<dt><strong>Version 1.6.3</strong> [15/Jan/2015]</dt>
	<dd><ul>
        <li>Lua 5.3 support.</li>
        <li>Assorted bugfixes.</li>
	</ul></dd>

	<dt><strong>Version 1.6.2</strong> [??/Oct/2012]</dt>
	<dd><ul>
        <li>Full Lua 5.2 compatibility (with Lua 5.1 fallbacks)</li>
	</ul></dd>

	<dt><strong>Version 1.6.1</strong> [01/Oct/2012]</dt>
	<dd><ul>
        <li>fix build for Lua 5.2</li>
	</ul></dd>

	<dt><strong>Version 1.6.0</strong> [26/Sep/2012]</dt>
	<dd><ul>
       <li>getcwd fix for Android</li>
        <li>support for Lua 5.2</li>
        <li>add lfs.link</li>
        <li>other bug fixes</li>
	</ul></dd>
 
	<dt><strong>Version 1.5.0</strong> [20/Oct/2009]</dt>
	<dd><ul>
	<li>Added explicit next and close methods to second return value of lfs.dir 
(the directory object), for explicit iteration or explicit closing.</li>
	<li>Added directory locking via lfs.lock_dir function (see the <a href="manual.html">manual</a>).</li>
	</ul></dd>
	<dt><strong>Version 1.4.2</strong> [03/Feb/2009]</dt>
	<dd>
		<ul>
			<li>fixed bug
				<code>lfs.attributes(filename, 'size')</code> overflow on files > 2 Gb again  (bug report and patch by KUBO Takehiro).</li>
			<li>fixed bug
				Compile error on Solaris 10 (bug report and patch by Aaron B).</li>
			<li>fixed compilation problems with Borland C.</li>
		</ul>
	</dd>
	
    <dt><strong>Version 1.4.1</strong> [07/May/2008]</dt>
	<dd>
	<ul>
	<li>documentation review</li>
	<li>fixed Windows compilation issues</li>
	<li>fixed bug in the Windows tests (patch by Shmuel Zeigerman)</li>
	<li>fixed bug
		<code>lfs.attributes(filename, 'size')</code> overflow on files > 2 Gb
	</li>
	</ul>
	</dd>
	
    <dt><strong>Version 1.4.0</strong> [13/Feb/2008]</dt>
    <dd>
    <ul>
	<li>added function
	<a href="manual.html#setmode"><code>lfs.setmode</code></a>
        (works only in Windows systems).</li>
	<li><a href="manual.html#attributes"><code>lfs.attributes</code></a>
	raises an error if attribute does not exist</li>
    </ul>
    </dd>
    
    <dt><strong>Version 1.3.0</strong> [26/Oct/2007]</dt>
    <dd>
    <ul>
        <li>added function
        <a href="manual.html#symlinkattributes"><code>lfs.symlinkattributes</code></a>
        (works only in non Windows systems).</li>
    </ul>
    </dd>

    <dt><strong>Version 1.2.1</strong> [08/May/2007]</dt>
    <dd>
    <ul>
        <li>compatible only with Lua 5.1 (Lua 5.0 support was dropped)</li>
    </ul>
    </dd>

    <dt><strong>Version 1.2</strong> [15/Mar/2006]</dt>
    <dd>
    <ul>
        <li>added optional argument to
        <a href="manual.html#attributes"><code>lfs.attributes</code></a></li>
        <li>added function
        <a href="manual.html#rmdir"><code>lfs.rmdir</code></a></li>
        <li>bug correction on <a href="manual.html#dir"><code>lfs.dir</code></a></li>
    </ul>
    </dd>

    <dt><strong>Version 1.1</strong> [30/May/2005]</dt>
    <dd>
    <ul>
        <li>added function <a href="manual.html#touch"><code>lfs.touch</code></a>.</li>
    </ul>
    </dd>

    <dt><strong>Version 1.0</strong> [21/Jan/2005]</dt>
    <dd />

    <dt><strong>Version 1.0 Beta</strong> [10/Nov/2004]</dt>
    <dd />
</dl>

<h2><a name="credits"></a>Credits</h2>

<p>The LuaFileSystem library was originally designed and
implemented by Roberto Ierusalimschy, Andr&eacute; Carregal and
Tom&aacute;s Guisasola. It was then maintained by F&aacute;bio
Mascarenhas for several years and has since been maintained
by many contributors -- see the Git history for detailed credits.</p>

</div> <!-- id="content" -->

</div> <!-- id="main" -->

<div id="about">
	<p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p>
</div> <!-- id="about" -->

</div> <!-- id="container" -->

</body>
</html>