pub fn create_directory(path: String) -> Result<()>