add a helper and update some docs

akkartik
Dec 18, 2023, 7:59 PM
U2J5H26QTGCQP7M2SOFCYOWEIUEZ2XOQBO6BE4GSRYWH3FNIQFQAC

Dependencies

  • [2] HOWVSTWA a few more testable file-system operations
  • [3] N2NUGNN4 include a brief reference enabling many useful apps
  • [4] ED4Z6ORC cleaner API for file-system access
  • [5] FPY4LO2W make a few names consistent with snake_case
  • [*] 3QNOKBFM beginnings of a test harness

Change contents

  • replacement in reference.md at line 368
    [3.11232][3.11232:11304]()
    * `love.filesystem.getInfo(filename)` -- returns some information about
    [3.11232]
    [3.11304]
    * `App.file_info(filename)` -- returns some information about
  • replacement in reference.md at line 372
    [3.11567][3.11567:11645]()
    * `os.remove(filename)` -- removes a file or empty directory. Definitely make
    [3.11567]
    [3.11645]
    * `App.mkdir(path)` -- creates a directory. Make sure `path` is absolute.
    (From [LÖVE](https://love2d.org/wiki/love.filesystem.remove).]
    * `App.remove(filename)` -- removes a file or empty directory. Definitely make
  • replacement in reference.md at line 377
    [3.11684][3.11684:11758]()
    (From [Lua](https://www.lua.org/manual/5.1/manual.html#pdf-os.remove).)
    [3.11684]
    [3.11758]
    (From [LÖVE](https://love2d.org/wiki/love.filesystem.remove).]
  • edit in app.lua at line 513
    [3.16535]
    [2.258]
    App.file_info = nativefs.getInfo