# afs
fs extensions for Rust
## Usage
```rust
fn main() {
afs::write_file_sync("foo.txt", "hello world").unwrap();
}
```
## Modules
### Stat
| stat | std | tokio |
| exists | std | tokio |
| isDir | std | tokio |
| isFile | std | tokio |
| isSymlink | std | tokio |
| size | std | tokio |
| find | std | tokio |
| diskusage | std | tokio |
| hash | std | tokio |
| which | std | tokio |
### Io
| appendFile | std | tokio |
| readFile | std | tokio |
| writeFile | std | tokio |
### Ops
| FsWatcher | ✅ | ✅ | cargo-watch |
| unlink | ✅ | ✅ | std |
| dirpath | ✅ | ✅ | std |
| mkdir | ✅ | ✅ | std |
| cwd | ✅ | ✅ | std |
| chdir | ✅ | ✅ | std |
| mktempdir | ✅ | ✅ | std |
| rm | ✅ | ✅ | std |
| rmdir | ✅ | ✅ | std |
| cp | ✅ | ✅ | std |
| mktempfile | ✅ | ✅ | std |
| link | ✅ | ✅ | std |
| unlink | ✅ | ✅ | std |
| readdir | ✅ | ✅ | std |
| readlink | ✅ | ✅ | std |
| rename | ✅ | ✅ | std |
| chmod | ✅ | ✅ | std |
| chown | ✅ | ✅ | std |
| open | ✅ | ✅ | std |
| access | ✅ | ✅ | std |
| constants | ✅ | ✅ | std |