Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

`File System for file and directory`

# Usage

```rust
use fdir::{FileAttr, FileInfo};
fn main() -> std::io::Result<()> {
    let mut file = FileInfo::create("foo.txt")?;
    file.rename("bar")?;  // or bar.txt
    assert_eq!(file.file_name(), Some("bar.txt".as_ref()));
    Ok(())
}
```

# License


This project is licensed under the MIT license