Create a FileSystem rooted at a temporary directory.
()
| 15 | |
| 16 | /// Create a FileSystem rooted at a temporary directory. |
| 17 | fn temp_fs() -> (TempDir, FileSystem) { |
| 18 | let dir = temp_dir(); |
| 19 | let fs = FileSystem::from_root(dir.path()); |
| 20 | (dir, fs) |
| 21 | } |
| 22 | |
| 23 | // ------------------------------------------------------------------------ |
| 24 | // Construction and Basic Properties |
no test coverage detected