-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Properly reconstruct paths when restoring files on freedesktop i…
…f those were relative (#47) Previously it would be unable to reconstruct original paths if the trash directory was on a mount point due to a 'split brain' of sorts. When trashing files it would create original path information based on them being relative to a mount point, but when restoring them it would reconstruct them to be relative to the trash top level directory. Now the reconstruction happens against to mount point itself which makes restoration match.
- Loading branch information
Showing
1 changed file
with
3 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters