Nathaniel Wesley Filardo
fd12be9966
file: list now takes optional pattern for filtering ( #2452 )
...
Thanks to @TerryE for many useful suggestions
2018-08-10 16:38:48 +01:00
Marcel Stör
e0f811dd2b
Fix the use of the term "Lua"
2017-12-25 11:40:33 +01:00
Arnim Läuger
b1dcb70593
File doc fix ( #1905 )
...
* clarify differing command support for spiffs and fatfs
* fix toc
2017-04-10 23:02:20 +02:00
Arnim Läuger
305d7c4672
Add file.stat() to query file/directory attributes. ( #1724 )
...
* add file.stat()
* set default time/date to 1970-01-01
use lua_setfield
2017-01-17 21:54:23 +01:00
devsaurus
5425adefff
small fixes for sdcard and file doc
2017-01-06 16:15:29 +01:00
Arnim Läuger
a0e2e0ca37
Implement object model for files ( #1532 )
2016-11-08 21:02:51 +01:00
Arnim Läuger
9db07783f4
Remove luaL_buffer from file_g_read() ( #1541 )
...
* remove luaL_buffer from file_g_read()
- avoid memory leak when function gets terminated by lua_error
- skip scanning for end_char when reading until EOF
* attempt to free memory in any case
2016-10-28 17:32:12 +03:00
Arnim Läuger
ecf8bd98d6
Add FatFs and SD card support ( #1397 )
...
* Add FatFs
* enable BUILD_FATFS for all-module build
* push vfs into rest of firmware
* align maximum filename length
* increase timeout for acmd41 during card initialization
* switch from DOS to Unix path semantics chdrive() is substituted by chdir()
* update to fatfs R.012a incl. patches 1-6
* add callback for rtc provisioning in file
* update docs
2016-09-05 20:17:13 +02:00
Marcel Stör
202cc1a12a
Add meta-info block to every module doc page
2016-03-06 08:56:28 +01:00
Adam Bonner
0e770d95e7
Update file documentation to clarify that reads are limited to LUAL_BUFFERSIZE bytes max
2016-02-21 22:16:38 -08:00
Johny Mattsson
1fd98d9f86
Add file.fscfg() command for fs location + size.
2016-02-18 12:52:40 +11:00
jfollas
44786a22ff
Added file.exists() method to save the need to use file.list() for checking file existence
2016-02-13 17:37:04 -05:00
Marcel Stör
7eba3cbcf3
Update for consistency with the other docs
2016-01-10 16:04:23 +01:00
devsaurus
ebcf6b771e
fix delimiters after list
2016-01-07 00:33:52 +01:00
Johny Mattsson
4877cb2b1a
Transferred file module documentation.
2016-01-05 12:21:19 +11:00