Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement file:* functions #32

Closed
skx opened this issue Oct 15, 2022 · 0 comments · Fixed by #36
Closed

Implement file:* functions #32

skx opened this issue Oct 15, 2022 · 0 comments · Fixed by #36
Assignees

Comments

@skx
Copy link
Owner

skx commented Oct 15, 2022

As noted in the previous release notes we should add some file-functions:

  • file:stat
    • Return a list of details, size, owner, gid, mode, etc.
    • Add helper (file:stat:size) or similar for each field.
  • file:lines
    • Return a list of strings.
  • file:read
    • Behave the same as our existing slurp function, which will become an alias.
@skx skx self-assigned this Oct 15, 2022
@skx skx closed this as completed in #36 Oct 16, 2022
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 a pull request may close this issue.

1 participant