Skip to content

Alfons 5

Compare
Choose a tag to compare
@daelvn daelvn released this 23 Jan 03:49
· 45 commits to master since this release

An update where I replace ol' inefficient filekit with a much more sane lpath. It comes with some small API changes described here:

  • Compatibility with ComputerCraft has been removed. Alfons 5 is not compatible with it.
  • Replaced filekit with lpath
    • fs in the environment no longer points to filekit, but to path.fs
    • path, fsinfo and env have been added to the environment, corresponding to path, path.info and path.env respectively.
  • Additions to the environment
    • safeOpen: Open IO handles safely
    • listAll: Returns a list of all files and directories recursively.
    • copy: Recursive file copy
    • delete: Recursive delete
    • isEmpty: Checks if a directory is empty
  • Changes to the environment
    • All FS operations don't deal in absolute paths anymore
    • wildcard and iwildcard may exhibit slightly different behavior.