/// Creates if possible a temporary directory specified in `path` relative to the current directory
Creates if possible a temporary directory specified in `path` relative to the current directory
Creates if possible a temporary directory specified in ` path ` relative to the current directory
pub fn current(path: &str) -> Self {
        let path = Path::new(path);
        if let Ok(tempdir) = TempDir::current(path) {
            TestDir::new(tempdir)
        } else {
            panic!("Cannot create dir in current directory")
        }
    }
pub fn current ( path : & str ) -> Self { let path = Path :: new ( path ) ; if let Ok ( tempdir ) = TempDir :: current ( path ) { TestDir :: new ( tempdir ) } else { panic ! ( " " ) } }
Creates if possible a temporary directory specified in `path` relative to the current directory
Creates if possible a temporary directory specified in ` path ` relative to the current directory
path
&str