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

Tracking issue for Sable. API's #6

Open
13 of 22 tasks
Im-Beast opened this issue Aug 27, 2023 · 1 comment
Open
13 of 22 tasks

Tracking issue for Sable. API's #6

Im-Beast opened this issue Aug 27, 2023 · 1 comment

Comments

@Im-Beast
Copy link
Member

Im-Beast commented Aug 27, 2023

Currently planned API's:

this list should be expanded upon on the fly

Sable.

  • fs
    • readFile – read file and return Uint8Array
    • readTextFile – read file and return string
    • writeFile – write file using Uint8Array
    • writeTextFile – write file using string
    • removeFile - delete file
    • removeDirectory - delete directory
    • copyFile - copy file
    • copyDirectory - copy directory
    • moveFile - move/rename file
    • moveDirectory - move/rename directory
    • makeDirectory - create a new directory
    • makeFile - create a new file
    • makeTempDirectory - create a new temporary directory in /tmp
    • makeTempFile - create a new temp file in /tmp
    • watch - create iterable which yields changes in file system
  • io
    • read – read from resource id into given Uint8Array
    • write – async write to resource id using Uint8Array
    • stdin – interface for working with standard input
    • stdout – interface for working with standard output
    • stderr – interface for working with standard error output
  • testing
    • test - test runner
    • bench - benchmark runner
@Im-Beast Im-Beast mentioned this issue Aug 27, 2023
8 tasks
@Im-Beast
Copy link
Member Author

Im-Beast commented Aug 27, 2023

Things that are yet to be discussed:

  • Sable.fs.File
  • Sable.io.{Stdin, Stdout, Stderr}
  • Sable.io.{write, writeSync, read, readSync} – should they even exist?

@lino-levan lino-levan changed the title Tracking issue for Bueno. API's Tracking issue for Sable. API's Mar 16, 2024
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

No branches or pull requests

1 participant