sable
sable copied to clipboard
Tracking issue for `Sable.` API's
Currently planned API's:
this list should be expanded upon on the fly
Sable.
fs- [x]
readFile– read file and returnUint8Array - [x]
readTextFile– read file and returnstring - [x]
writeFile– write file usingUint8Array - [x]
writeTextFile– write file usingstring - [x]
removeFile- delete file - [x]
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
- [x]
io- [x]
read– read from resource id into givenUint8Array - [x]
write– async write to resource id usingUint8Array - [x]
stdin– interface for working with standard input - [x]
stdout– interface for working with standard output - [x]
stderr– interface for working with standard error output
- [x]
testing- [x]
test- test runner - [x]
bench- benchmark runner
- [x]
Things that are yet to be discussed:
Sable.fs.FileSable.io.{Stdin, Stdout, Stderr}Sable.io.{write, writeSync, read, readSync}– should they even exist?