Skip to content

Conversation

@GerardSmit
Copy link
Contributor

While looking at #94, I saw a possible issue with MountFileSystem. It's possible for the MountFileSystem to not have a fallback filesystem, causing ResolvePath to throw an InvalidOperationException. The change in ComposeFileSystem fixes this problem.

After that I've implemented ResolvePathImpl in MountFileSystem, so it'll also use the move when the MountFileSystem isn't used directly, e.g.:

sub1.MoveFileCross("/file.txt", mount, "/sub2-mount/file.txt");

@xoofx xoofx merged commit 083b29d into xoofx:main Jul 13, 2024
@xoofx
Copy link
Owner

xoofx commented Jul 13, 2024

Good catch, thanks!

@xoofx xoofx added the bug label Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants