diff --git a/docs/api.md b/docs/api.md index fbbf5bd..67ac9d9 100644 --- a/docs/api.md +++ b/docs/api.md @@ -75,6 +75,10 @@ Changes the current directory to either *path* or *os.getenv("PWD")*/*path*. Copies a file from *source* to *destination*. #### fs.mv(*source*, *destination*) Same as fs.cp but deletes *source* afterwards. +#### fs.getattr(*path*,*key*) +Returns the value of *path*'s extended attribute *key*, assuming your user ID is in the read attribute. +#### fs.setattr(*path*,*key*,*value*) +Set *path*'s extended attribute *key* to *value*, assuming your user ID is in the write attribute ### io #### write(...) or io.write(...)