🗄️
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(path: string)
read-range(path: string, offset: u64, length: u64)
write(path: string, data: list<u8>)
append(path: string, data: list<u8>)
touch(path: string)
ls(path: string, recursive: bool)
mkdir(path: string)
rm(path: string, recursive: bool)
cp(src: string, dst: string, recursive: bool)
mv(src: string, dst: string)
stat(path: string)
exists(path: string)