added the get/setattr functions to the API docs

This commit is contained in:
Izaya 2017-09-15 16:28:10 +10:00
parent 5fcc09e03c
commit 3138eb29b8
1 changed files with 4 additions and 0 deletions

View File

@ -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(...)