Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for mounted GNOME Trash folders #906

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

JSCU-CNI
Copy link
Contributor

@JSCU-CNI JSCU-CNI commented Oct 16, 2024

This PR adds mounted Trash folder support to the GNOME Trash plugin. Fixes #908.

@Horofic Horofic self-requested a review October 16, 2024 13:52
@@ -1300,6 +1300,8 @@ def symlink(self, src: str, dst: str) -> None:
class LayerFilesystem(Filesystem):
__type__ = "layer"

mounts: dict = {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this addition only for the unit test? I'd prefer finding a more suitable way to mock in that case 😄.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. Do you have a suggestion for a better way to mock mounts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search mounts for GNOME Trash folders
2 participants