Struct conserve::test_fixtures::TreeFixture
[−]
[src]
pub struct TreeFixture { pub root: PathBuf, // some fields omitted }
A temporary tree for running a test.
Created in a temporary directory and automatically disposed when done.
Fields
root: PathBuf
Methods
impl TreeFixture
[src]
fn new() -> TreeFixture
[src]
fn path(&self) -> &Path
[src]
fn create_file(&self, relative_path: &str)
[src]
fn create_file_with_contents(&self, relative_path: &str, contents: &[u8])
[src]
fn create_dir(&self, relative_path: &str)
[src]
fn create_symlink(&self, _relative_path: &str, _target: &str)
[src]
Symlinks are just not present on Windows.