Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk committed Dec 5, 2024
1 parent fa2d216 commit 886c443
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/freedesktop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ impl PlatformTrashContext {
}
}
impl TrashContext {
pub(crate) fn delete_all_canonicalized(&self, full_paths: Vec<PathBuf>, _with_info: bool) -> Result<Option<Vec<TrashItem>>, Error> {
pub(crate) fn delete_all_canonicalized(
&self,
full_paths: Vec<PathBuf>,
_with_info: bool,
) -> Result<Option<Vec<TrashItem>>, Error> {
let home_trash = home_trash()?;
let sorted_mount_points = get_sorted_mount_points()?;
let home_topdir = home_topdir(&sorted_mount_points)?;
Expand Down
6 changes: 5 additions & 1 deletion src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ impl TrashContext {
}

/// Removes all files and folder paths recursively.
pub(crate) fn delete_all_canonicalized(&self, full_paths: Vec<PathBuf>, _with_info: bool) -> Result<Option<Vec<TrashItem>>, Error> {
pub(crate) fn delete_all_canonicalized(
&self,
full_paths: Vec<PathBuf>,
_with_info: bool,
) -> Result<Option<Vec<TrashItem>>, Error> {
self.delete_specified_canonicalized(full_paths)
}
}
Expand Down

0 comments on commit 886c443

Please sign in to comment.