🗄️

fs

asterai

v1.0.0 Interface Public

This is an interface-only component — it defines a contract that can be implemented by other components.

Interface

Exports
asterai:fs/types@1.0.0
asterai:fs/fs@1.0.0
read(pathstring)
read-range(pathstring, offsetu64, lengthu64)
write(pathstring, datalist<u8>)
append(pathstring, datalist<u8>)
touch(pathstring)
ls(pathstring, recursivebool)
mkdir(pathstring)
rm(pathstring, recursivebool)
cp(srcstring, dststring, recursivebool)
mv(srcstring, dststring)
stat(pathstring)
exists(pathstring)