This file is indexed.

/usr/share/doc/love/html/love.filesystem.html is in love-doc 0.9.1-3ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta name="generator" content="MediaWiki 1.16.2" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="search" type="application/opensearchdescription+xml" href="https://love2d.org/w/opensearch_desc.php" title="LOVE (en)" />
<link title="Creative Commons" type="application/rdf+xml" href="https://love2d.org/w/index.php?title=love.filesystem&amp;action=creativecommons" rel="meta" />
<link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" />
<link rel="alternate" type="application/atom+xml" title="LOVE Atom feed" href="https://love2d.org/w/index.php?title=Special:RecentChanges&amp;feed=atom" />		<title>love.filesystem - LOVE</title>
		<link rel="stylesheet" href="shared.css" media="screen" />
<link rel="stylesheet" href="commonPrint.css" media="print" />
<link rel="stylesheet" href="main.css" media="screen" />
<link rel="stylesheet" href="MediaWiki%3aCommon.css" />
<link rel="stylesheet" href="MediaWiki%3aPrint.css" media="print" />
<link rel="stylesheet" href="MediaWiki%3aLove.css" />
<link rel="stylesheet" href="user.css" />
		<!--[if lt IE 7]><script type="text/javascript" src="https://love2d.org/w/skins/common/IEFixes.js?270"></script>
		<meta http-equiv="imagetoolbar" content="no" /><![endif]-->

		<script>
var skin="love",
stylepath="https://love2d.org/w/skins",
wgUrlProtocols="http\\:\\/\\/|https\\:\\/\\/|ftp\\:\\/\\/|irc\\:\\/\\/|gopher\\:\\/\\/|telnet\\:\\/\\/|nntp\\:\\/\\/|worldwind\\:\\/\\/|mailto\\:|news\\:|svn\\:\\/\\/",
wgArticlePath="https://love2d.org/wiki/$1",
wgScriptPath="/w",
wgScriptExtension=".php",
wgScript="https://love2d.org/w/index.php",
wgVariantArticlePath=false,
wgActionPaths={},
wgServer="https://www.love2d.org",
wgCanonicalNamespace="",
wgCanonicalSpecialPageName=false,
wgNamespaceNumber=0,
wgPageName="love.filesystem",
wgTitle="love.filesystem",
wgAction="view",
wgArticleId=61,
wgIsArticle=true,
wgUserName=null,
wgUserGroups=null,
wgUserLanguage="en",
wgContentLanguage="en",
wgBreakFrames=false,
wgCurRevisionId=10206,
wgVersion="1.16.2",
wgEnableAPI=true,
wgEnableWriteAPI=true,
wgSeparatorTransformTable=["", ""],
wgDigitTransformTable=["", ""],
wgMainPageTitle="Main Page",
wgFormattedNamespaces={"-2": "Media", "-1": "Special", "0": "", "1": "Talk", "2": "User", "3": "User talk", "4": "LOVE", "5": "LOVE talk", "6": "File", "7": "File talk", "8": "MediaWiki", "9": "MediaWiki talk", "10": "Template", "11": "Template talk", "12": "Help", "13": "Help talk", "14": "Category", "15": "Category talk", "102": "Property", "103": "Property talk", "104": "Type", "105": "Type talk", "108": "Concept", "109": "Concept talk", "500": "Tutorial", "501": "Tutorial talk"},
wgNamespaceIds={"media": -2, "special": -1, "": 0, "talk": 1, "user": 2, "user_talk": 3, "love": 4, "love_talk": 5, "file": 6, "file_talk": 7, "mediawiki": 8, "mediawiki_talk": 9, "template": 10, "template_talk": 11, "help": 12, "help_talk": 13, "category": 14, "category_talk": 15, "property": 102, "property_talk": 103, "type": 104, "type_talk": 105, "concept": 108, "concept_talk": 109, "tutorial": 500, "tutorial_talk": 501, "image": 6, "image_talk": 7},
wgSiteName="LOVE",
wgCategories=["Modules"],
wgRestrictionEdit=[],
wgRestrictionMove=[];
</script>
		<script type="text/javascript" src="wikibits.js"><!-- wikibits js --></script>
		<!-- Head Scripts -->
		<link rel="alternate" type="application/rdf+xml" title="love.filesystem" href="https://love2d.org/w/index.php?title=Special:ExportRDF/love.filesystem&amp;xmlmime=rdf" />
		<script type="text/javascript" src="site.js"><!-- site js --></script>
  <link href="https://plus.google.com/b/108553500970002863436/" rel="publisher" />
	</head>
<body class="mediawiki ltr ns-0 ns-subject page-love_filesystem skin-love">
	<div id="globalWrapper">
		<div id="column-content">
	<div id="content">
		<a name="top" id="top"></a>
			
		<div id="p-cactions">
			<h5>Views</h5>
			<div>
				<ul>
		
					 <li id="ca-nstab-main" class="selected"><a href="love.filesystem.html" title="View the content page [c]" accesskey="c">Page</a></li>
					 <li id="ca-talk" class="new"><a href="https://love2d.org/w/index.php?title=Talk:love.filesystem&amp;action=edit&amp;redlink=1" title="Discussion about the content page [t]" accesskey="t">Discussion</a></li>
					 <li id="ca-viewsource"><a href="https://love2d.org/w/index.php?title=love.filesystem&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></li>
					 <li id="ca-history"><a href="https://love2d.org/w/index.php?title=love.filesystem&amp;action=history" title="Past revisions of this page [h]" accesskey="h">History</a></li>				</ul>
			</div>
		</div>
	
		<h1 id="firstHeading" class="firstHeading">love.filesystem</h1>
		<div id="bodyContent">
			<div id="contentSub"></div>
									<!-- start content -->
			<p>Provides an interface to the user's filesystem.
</p><p>This module provides access to files in two places, and two places only:
</p>
<ul><li>  The root folder of the .love archive (or source directory)
</li><li>  The root folder of the game's <i>save directory</i>.
</li></ul>
<p>Each game is granted a single directory on the system where files can be saved through love.filesystem. This is the <b>only directory</b> where love.filesystem can write files. These directories will typically be found in something like:
</p>
<ul><li>  Windows XP: <code>C:\Documents and Settings\user\Application Data\LOVE\</code> or <code>%appdata%\LOVE\</code>
</li><li> Windows Vista and 7: <code>C:\Users\user\AppData\Roaming\LOVE</code> or <code>%appdata%\LOVE\</code>
</li><li>  Linux: <code>$XDG_DATA_HOME/love/</code> or <code>~/.local/share/love/</code>
</li><li>  Mac: <code>/Users/user/Library/Application Support/LOVE/</code>
</li></ul>
<p>Files that are opened for write or append will always be created in the save directory. The same goes for other operations that involve writing to the filesystem, like mkdir.
</p><p>Files that are opened for read will be looked for in the save directory, and then in the .love archive (in that order). So if a file with a certain filename (and path) exist in both the .love archive and the save folder, the one in the save directory takes precedence.
</p><p>Note: <b>All</b> paths are relative to the .love archive and save directory. (except for the get*Directory() calls)
</p><p>It is recommended to set your game's identity first in your <code><a href="Config_Files.html" title="Config Files">conf.lua</a></code>. You can set it with <code><a href="love.filesystem.setIdentity.html" title="love.filesystem.setIdentity">love.filesystem.setIdentity</a>()</code> as well.
</p>
<h2> <span class="mw-headline" id="Types"> Types </span></h2>
<table class="smwtable" style="background-color: #eeeeff;">


<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="File.html" title="File">File</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Represents a file on the filesystem.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="FileData.html" title="FileData">FileData</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="Data.html" title="Data">Data</a> representing the contents of a file.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

</table>
<h2> <span class="mw-headline" id="Functions"> Functions </span></h2>
<table class="smwtable" style="background-color: #eeeeff;">


<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.append.html" title="love.filesystem.append">love.filesystem.append</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Append data to an existing file.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.createDirectory.html" title="love.filesystem.createDirectory">love.filesystem.createDirectory</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Creates a directory.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.enumerate.html" title="love.filesystem.enumerate">love.filesystem.enumerate</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Returns all the files and subdirectories in the directory.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #fff8f8; vertical-align: top;"><img alt="Removed in" src="https://love2d.org/w/images/f/f4/Remove.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a>
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.exists.html" title="love.filesystem.exists">love.filesystem.exists</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Check whether a file or directory exists.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.getAppdataDirectory.html" title="love.filesystem.getAppdataDirectory">love.filesystem.getAppdataDirectory</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Returns the application data directory (could be the same as getUserDirectory)</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.getDirectoryItems.html" title="love.filesystem.getDirectoryItems">love.filesystem.getDirectoryItems</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Returns all the files and subdirectories in the directory.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.getIdentity.html" title="love.filesystem.getIdentity">love.filesystem.getIdentity</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Gets the write directory name for your game.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.getLastModified.html" title="love.filesystem.getLastModified">love.filesystem.getLastModified</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Gets the last modification time of a file.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.7.1" title="0.7.1">0.7.1</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.getSaveDirectory.html" title="love.filesystem.getSaveDirectory">love.filesystem.getSaveDirectory</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Gets the full path to the designated save directory.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.getSize.html" title="love.filesystem.getSize">love.filesystem.getSize</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Gets the size in bytes of a file.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.getUserDirectory.html" title="love.filesystem.getUserDirectory">love.filesystem.getUserDirectory</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Returns the path of the user's directory</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.getWorkingDirectory.html" title="love.filesystem.getWorkingDirectory">love.filesystem.getWorkingDirectory</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Gets the current working directory.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.init.html" title="love.filesystem.init">love.filesystem.init</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Initializes love.filesystem, will be called internally, so should not be used explictly.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.isDirectory.html" title="love.filesystem.isDirectory">love.filesystem.isDirectory</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Check whether something is a directory.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.isFile.html" title="love.filesystem.isFile">love.filesystem.isFile</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Check whether something is a file.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.isFused.html" title="love.filesystem.isFused">love.filesystem.isFused</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Gets whether the game is in fused mode or not.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.lines.html" title="love.filesystem.lines">love.filesystem.lines</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Iterate over the lines in a file.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.load.html" title="love.filesystem.load">love.filesystem.load</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Load a lua file (but not run it)</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.mkdir.html" title="love.filesystem.mkdir">love.filesystem.mkdir</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Creates a directory.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #fff8f8; vertical-align: top;"><img alt="Removed in" src="https://love2d.org/w/images/f/f4/Remove.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a>
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.mount.html" title="love.filesystem.mount">love.filesystem.mount</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Mounts a zip file or folder in the game's save directory for reading.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.newFile.html" title="love.filesystem.newFile">love.filesystem.newFile</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Creates a new <a href="File.html" title="File">File</a> object.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.newFileData.html" title="love.filesystem.newFileData">love.filesystem.newFileData</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Creates a new <a href="FileData.html" title="FileData">FileData</a> object.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.7.0" title="0.7.0">0.7.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.read.html" title="love.filesystem.read">love.filesystem.read</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Read the contents of a file</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.remove.html" title="love.filesystem.remove">love.filesystem.remove</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Removes a file (or directory).</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.setIdentity.html" title="love.filesystem.setIdentity">love.filesystem.setIdentity</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Sets the write directory for your game.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.setSource.html" title="love.filesystem.setSource">love.filesystem.setSource</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Sets the source of the game, where the code is present.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.unmount.html" title="love.filesystem.unmount">love.filesystem.unmount</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Unmounts a zip file or folder previously mounted with <a href="love.filesystem.mount.html" title="love.filesystem.mount">love.filesystem.mount</a>.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.9.0" title="0.9.0">0.9.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="love.filesystem.write.html" title="love.filesystem.write">love.filesystem.write</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">Write data to a file.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

</table>
<h2> <span class="mw-headline" id="Enums"> Enums </span></h2>
<table class="smwtable" style="background-color: #eeeeff;">


<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="FileDecoder.html" title="FileDecoder">FileDecoder</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">How to decode a given <a href="FileData.html" title="FileData">FileData</a>.</td><td style="padding: 1px 5px 1px 5px; background-color: #f8fff8; vertical-align: top;"><img alt="Added since" src="https://love2d.org/w/images/a/a7/Add.png" width="8" height="11" /> <a href="https://love2d.org/wiki/0.7.0" title="0.7.0">0.7.0</a> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

<tr>
<td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"><a href="FileMode.html" title="FileMode">FileMode</a></td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">The different modes you can open a <a href="File.html" title="File">File</a> in.</td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;"> </td><td style="padding: 1px 5px 1px 5px; background-color: #ffffff; vertical-align: top;">
</td></tr>

</table>
<h2> <span class="mw-headline" id="See_Also"> See Also </span></h2>
<ul><li> <a href="love.html" title="love">love</a>
</li></ul>
<h2> <span class="mw-headline" id="Other_Languages"> Other Languages </span></h2>
<div class="i18n">
<p><a href="https://love2d.org/w/index.php?title=love.filesystem_(Dansk)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Dansk) (page does not exist)">Dansk</a>&nbsp;&ndash;
<a href="https://love2d.org/wiki/love.filesystem_(Deutsch)" title="love.filesystem (Deutsch)">Deutsch</a>&nbsp;&ndash;
<strong class="selflink">English</strong>&nbsp;&ndash; 
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Espa%C3%B1ol)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Español) (page does not exist)">Español</a>&nbsp;&ndash;
<a href="https://love2d.org/wiki/love.filesystem_(Fran%C3%A7ais)" title="love.filesystem (Français)">Français</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Indonesia)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Indonesia) (page does not exist)">Indonesia</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Italiano)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Italiano) (page does not exist)">Italiano</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Lietuvi%C5%A1kai)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Lietuviškai) (page does not exist)">Lietuviškai</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Magyar)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Magyar) (page does not exist)">Magyar</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Nederlands)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Nederlands) (page does not exist)">Nederlands</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Polski)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Polski) (page does not exist)">Polski</a>&nbsp;&ndash;
<a href="https://love2d.org/wiki/love.filesystem_(Portugu%C3%AAs)" title="love.filesystem (Português)">Português</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Rom%C3%A2n%C4%83)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Română) (page does not exist)">Română</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Slovensk%C3%BD)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Slovenský) (page does not exist)">Slovenský</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Suomi)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Suomi) (page does not exist)">Suomi</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(Svenska)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Svenska) (page does not exist)">Svenska</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(T%C3%BCrk%C3%A7e)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Türkçe) (page does not exist)">Türkçe</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(%C4%8Cesky)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Česky) (page does not exist)">Česky</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(%CE%95%CE%BB%CE%BB%CE%B7%CE%BD%CE%B9%CE%BA%CE%AC)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Ελληνικά) (page does not exist)">Ελληνικά</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(%D0%91%D1%8A%D0%BB%D0%B3%D0%B0%D1%80%D1%81%D0%BA%D0%B8)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Български) (page does not exist)">Български</a>&nbsp;&ndash;
<a href="https://love2d.org/wiki/love.filesystem_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)" title="love.filesystem (Русский)">Русский</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(%D0%A1%D1%80%D0%BF%D1%81%D0%BA%D0%B8)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (Српски) (page does not exist)">Српски</a>&nbsp;&ndash;
<a href="https://love2d.org/wiki/love.filesystem_(%D0%A3%D0%BA%D1%80%D0%B0%D1%97%D0%BD%D1%81%D1%8C%D0%BA%D0%B0)" title="love.filesystem (Українська)">Українська</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(%D7%A2%D7%91%D7%A8%D7%99%D7%AA)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (עברית) (page does not exist)">עברית</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(%E0%B9%84%E0%B8%97%E0%B8%A2)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (ไทย) (page does not exist)">ไทย</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(%E6%97%A5%E6%9C%AC%E8%AA%9E)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (日本語) (page does not exist)">日本語</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(%E6%AD%A3%E9%AB%94%E4%B8%AD%E6%96%87)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (正體中文) (page does not exist)">正體中文</a>&nbsp;&ndash;
<a href="https://love2d.org/w/index.php?title=love.filesystem_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)&amp;action=edit&amp;redlink=1" class="new" title="love.filesystem (简体中文) (page does not exist)">简体中文</a>&nbsp;&ndash;
<a href="https://love2d.org/wiki/love.filesystem_(Ti%E1%BA%BFng_Vi%E1%BB%87t)" title="love.filesystem (Tiếng Việt)">Tiếng Việt</a>&nbsp;&ndash;
<a href="https://love2d.org/wiki/love.filesystem_(%ED%95%9C%EA%B5%AD%EC%96%B4)" title="love.filesystem (한국어)">한국어</a> 
<br />
<span style="text-align:right;"><i><a href="https://love2d.org/wiki/Help:i18n" title="Help:i18n">More info</a></i></span>
</p>
</div>

<!-- 
NewPP limit report
Preprocessor node count: 1159/1000000
Post-expand include size: 41117/2097152 bytes
Template argument size: 5103/2097152 bytes
Expensive parser function count: 0/100
-->

<!-- Saved in parser cache with key love2d_wiki:pcache:idhash:61-0!1!0!!en!2!edit=0 and timestamp 20140410163603 -->
<div class="printfooter">
Retrieved from "<a href="https://www.love2d.org/wiki/love.filesystem">https://www.love2d.org/wiki/love.filesystem</a>"</div>
			<div id='catlinks' class='catlinks'><div id="mw-normal-catlinks"><a href="https://love2d.org/wiki/Special:Categories" title="Special:Categories">Category</a>: <span dir='ltr'><a href="https://love2d.org/wiki/Category:Modules" title="Category:Modules">Modules</a></span></div></div>			<!-- end content -->
						<div class="visualClear"></div>
		</div>
	</div>
		</div>
		<div id="column-one">

	<div class="portlet" id="p-personal">
		<h5>Personal tools</h5>
		<div class="pBody">
			<ul>
				<li id="pt-login"><a href="https://love2d.org/w/index.php?title=Special:UserLogin&amp;returnto=love.filesystem" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li>
			</ul>
		</div>
	</div>
	<div class="portlet" id="p-logo">
		<a style="background-image: url(wiki.png);" href="https://love2d.org/wiki/Main_Page" title="Visit the main page"></a>
	</div>
<!--	<div class="portlet" id="p-docs">
		<h5>Documentation</h5>
		<div class="pBody">
			<ul>
				<li><a href="//love2d.org/wiki/love">love</a></li>
				<li><a href="//love2d.org/wiki/love.audio">love.audio</a></li>
				<li><a href="//love2d.org/wiki/love.event">love.event</a></li>
				<li><a href="//love2d.org/wiki/love.filesystem">love.filesystem</a></li>
				<li><a href="//love2d.org/wiki/love.graphics">love.graphics</a></li>
				<li><a href="//love2d.org/wiki/love.image">love.image</a></li>
				<li><a href="//love2d.org/wiki/love.joystick">love.joystick</a></li>
				<li><a href="//love2d.org/wiki/love.keyboard">love.keyboard</a></li>
				<li><a href="//love2d.org/wiki/love.math">love.math</a></li>
				<li><a href="//love2d.org/wiki/love.mouse">love.mouse</a></li>
				<li><a href="//love2d.org/wiki/love.physics">love.physics</a></li>
				<li><a href="//love2d.org/wiki/love.sound">love.sound</a></li>
				<li><a href="//love2d.org/wiki/love.system">love.system</a></li>
				<li><a href="//love2d.org/wiki/love.timer">love.timer</a></li>
				<li><a href="//love2d.org/wiki/love.window">love.window</a></li>
			</ul>
		</div>
	</div> -->
	<script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
	<div class='generated-sidebar portlet' id='p-documentation'>
		<h5>documentation</h5>
		<div class='pBody'>
			<ul>
				<li id="n-love"><a href="love.html">love</a></li>
				<li id="n-love.audio"><a href="love.audio.html">love.audio</a></li>
				<li id="n-love.event"><a href="love.event.html">love.event</a></li>
				<li id="n-love.filesystem"><a href="love.filesystem.html">love.filesystem</a></li>
				<li id="n-love.font"><a href="love.font.html">love.font</a></li>
				<li id="n-love.graphics"><a href="love.graphics.html">love.graphics</a></li>
				<li id="n-love.image"><a href="love.image.html">love.image</a></li>
				<li id="n-love.joystick"><a href="love.joystick.html">love.joystick</a></li>
				<li id="n-love.keyboard"><a href="love.keyboard.html">love.keyboard</a></li>
				<li id="n-love.math"><a href="love.math.html">love.math</a></li>
				<li id="n-love.mouse"><a href="love.mouse.html">love.mouse</a></li>
				<li id="n-love.physics"><a href="love.physics.html">love.physics</a></li>
				<li id="n-love.sound"><a href="love.sound.html">love.sound</a></li>
				<li id="n-love.system"><a href="love.system.html">love.system</a></li>
				<li id="n-love.thread"><a href="love.thread.html">love.thread</a></li>
				<li id="n-love.timer"><a href="love.timer.html">love.timer</a></li>
				<li id="n-love.window"><a href="love.window.html">love.window</a></li>
			</ul>
		</div>
	</div>
	<div class='generated-sidebar portlet' id='p-navigation'>
		<h5>Navigation</h5>
		<div class='pBody'>
			<ul>
				<li id="n-Home"><a href="http://love2d.org/">Home</a></li>
				<li id="n-Forums"><a href="http://love2d.org/forums">Forums</a></li>
				<li id="n-Issue-tracker"><a href="http://bitbucket.org/rude/love/issues">Issue tracker</a></li>
			</ul>
		</div>
	</div>
	<div class='generated-sidebar portlet' id='p-wiki_navigation'>
		<h5>wiki navigation</h5>
		<div class='pBody'>
			<ul>
				<li id="n-mainpage-description"><a href="https://love2d.org/wiki/Main_Page" title="Visit the main page [z]" accesskey="z">Main page</a></li>
				<li id="n-recentchanges"><a href="https://love2d.org/wiki/Special:RecentChanges" title="The list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li>
				<li id="n-randompage"><a href="https://love2d.org/wiki/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li>
			</ul>
		</div>
	</div>
	<div id="p-search" class="portlet">
		<h5><label for="searchInput">Search</label></h5>
		<div id="searchBody" class="pBody">
			<form action="https://love2d.org/w/index.php" id="searchform"><div>
				<input type='hidden' name="title" value="Special:Search"/>
				<input id="searchInput" name="search" type="text" title="Search LOVE [f]" accesskey="f" value="" />
				<input type='submit' name="go" class="searchButton" id="searchGoButton"	value="Go" title="Go to a page with this exact name if exists" />&nbsp;
				<input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Search the pages for this text" />
			</div></form>
		</div>
	</div>
	<div class="portlet" id="p-tb">
		<h5>Toolbox</h5>
		<div class="pBody">
			<ul>
				<li id="t-whatlinkshere"><a href="https://love2d.org/wiki/Special:WhatLinksHere/love.filesystem" title="List of all wiki pages that link here [j]" accesskey="j">What links here</a></li>
				<li id="t-recentchangeslinked"><a href="https://love2d.org/wiki/Special:RecentChangesLinked/love.filesystem" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li>
<li id="t-specialpages"><a href="https://love2d.org/wiki/Special:SpecialPages" title="List of all special pages [q]" accesskey="q">Special pages</a></li>
				<li id="t-print"><a href="https://love2d.org/w/index.php?title=love.filesystem&amp;printable=yes" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li>				<li id="t-permalink"><a href="https://love2d.org/w/index.php?title=love.filesystem&amp;oldid=10206" title="Permanent link to this revision of the page">Permanent link</a></li><li id="t-smwbrowselink"><a href="https://love2d.org/wiki/Special:Browse/love.filesystem" title="Special:Browse/love.filesystem">Browse properties</a></li>			</ul>
		</div>
	</div>
		</div><!-- end of the left (by default at least) column -->
			<div class="visualClear"></div>
			<div id="footer">
				<div id="f-poweredbyico"><a href="http://www.mediawiki.org/"><img src="poweredby_mediawiki_88x31.png" height="31" width="88" alt="Powered by MediaWiki" /></a></div>
				<div id="f-copyrightico"><a href="http://www.gnu.org/copyleft/fdl.html"><img src="gnu-fdl.png" alt="GNU Free Documentation License 1.3" width="88" height="31" /></a></div>
			<ul id="f-list">
					<li id="lastmod"> This page was last modified on 29 March 2013, at 23:03.</li>
					<li id="copyright">Content is available under <a href="http://www.gnu.org/copyleft/fdl.html" class="external ">GNU Free Documentation License 1.3</a>.</li>
					<li id="privacy"><a href="https://love2d.org/wiki/LOVE:Privacy_policy" title="LOVE:Privacy policy">Privacy policy</a></li>
					<li id="about"><a href="https://love2d.org/wiki/LOVE:About" title="LOVE:About">About LOVE</a></li>
					<li id="disclaimer"><a href="https://love2d.org/wiki/LOVE:General_disclaimer" title="LOVE:General disclaimer">Disclaimers</a></li>
			</ul>
		</div>
</div>

<script>if (window.runOnloadHook) runOnloadHook();</script>
<!-- Served in 0.263 secs. --></body></html>