diff --git a/SPEC/FILES.md b/SPEC/FILES.md index b9b6aaf1..585c15a5 100644 --- a/SPEC/FILES.md +++ b/SPEC/FILES.md @@ -24,6 +24,7 @@ The regular, top-level API for add, cat, get and ls Files on IPFS The Files API, aka MFS (Mutable File System) _Explore the Mutable File System through interactive coding challenges in our [ProtoSchool tutorial](https://proto.school/#/mutable-file-system/)._ + - [files.chmod](#fileschmod) - [files.cp](#filescp) - [files.flush](#filesflush) - [files.ls](#filesls) @@ -36,6 +37,7 @@ _Explore the Mutable File System through interactive coding challenges in our [P - [files.readReadableStream](#filesreadreadablestream) - [files.rm](#filesrm) - [files.stat](#filesstat) + - [files.touch](#filestouch) - [files.write](#fileswrite) ### ⚠️ Note @@ -58,6 +60,8 @@ Where `data` may be: { path: '/tmp/myfile.txt', // The file path content: // A Buffer, Readable Stream, Pull Stream or File with the contents of the file + mode: // optional integer mode to store the entry with + mtime: