Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
diqiu50 committed Dec 31, 2024
1 parent fe34265 commit 1d46c07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl GravitinoFilesetFileSystem {
}

fn gvfs_path_to_raw_path(&self, path: &Path) -> PathBuf {
let relation_path = path.strip_prefix("/").unwrap();
let relation_path = path.strip_prefix("/").expect("path should start with /");
if relation_path == Path::new("") {
return self.target_path.clone();
}
Expand Down

0 comments on commit 1d46c07

Please sign in to comment.