Skip to content

Commit

Permalink
Remove strayed dbg!
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Aug 20, 2021
1 parent 419e459 commit 2a838ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl AliyunDriveFileSystem {
trace!("{} file_id not found", path_str);
let parts: Vec<&str> = path_str.split('/').collect();
let parts_len = parts.len();
let filename = dbg!(parts[parts_len - 1]);
let filename = parts[parts_len - 1];

// find in root first
let files = self.read_dir_and_cache(&DavPath::new("/").unwrap()).await?;
Expand All @@ -101,7 +101,7 @@ impl AliyunDriveFileSystem {

let mut prefix = String::new();
for part in &parts[0..parts_len - 1] {
let parent = dbg!(format!("{}/{}", prefix, part));
let parent = format!("{}/{}", prefix, part);
let parent_path = DavPath::new(&encode_path(parent.as_bytes()))
.map_err(|_| FsError::GeneralFailure)?;
prefix = parent;
Expand Down

0 comments on commit 2a838ab

Please sign in to comment.