added the get/setattr functions to the API docs
This commit is contained in:
parent
d6b9b1db3a
commit
ed7032c274
@ -75,6 +75,10 @@ Changes the current directory to either *path* or *os.getenv("PWD")*/*path*.
|
|||||||
Copies a file from *source* to *destination*.
|
Copies a file from *source* to *destination*.
|
||||||
#### fs.mv(*source*, *destination*)
|
#### fs.mv(*source*, *destination*)
|
||||||
Same as fs.cp but deletes *source* afterwards.
|
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
|
### io
|
||||||
#### write(...) or io.write(...)
|
#### write(...) or io.write(...)
|
||||||
|
Loading…
Reference in New Issue
Block a user