Skip to content

Conversation

skx
Copy link
Owner

@skx skx commented Oct 16, 2022

We've added:

  • file:lines
    • Return the contents of the given file, as a list of lines.
  • file:read
    • Return the string-content of the given file.
    • This replaces (slurp), which is left as an alias
  • file:stat
    • This returns a list of details about the given file.
    • Helpers are defined, in lisp, for accessing fields.

This closes #32.

skx added 2 commits October 16, 2022 06:21
We've added:

* file:lines
  * Return the contents of the given file, as a list of lines.
* file:read
  * Return the string-content of the given file.
  * This replaces (slurp), which is left as an alias
* file:stat
  * This returns a list of details about the given file.
  * Helpers are defined, in lisp, for accessing fields.
I'd forgotten to remove references to the slurpFn, and add help
text for everything.
@skx skx merged commit 9c4f68d into master Oct 16, 2022
@skx skx deleted the 32-files branch October 16, 2022 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement file:* functions
1 participant