Skip to content

Add MountFS.TryGetMount and MountFS.TryGetMountName#36

Merged
xoofx merged 2 commits intoxoofx:masterfrom
Rohansi:dev
May 10, 2019
Merged

Add MountFS.TryGetMount and MountFS.TryGetMountName#36
xoofx merged 2 commits intoxoofx:masterfrom
Rohansi:dev

Conversation

@Rohansi
Copy link
Copy Markdown
Contributor

@Rohansi Rohansi commented May 10, 2019

These provide functionality to reverse lookup things inside of MountFS. AggregateFS can already accomplish this using FindFileSystemEntries which lists all of the results with their original IFileSystem.

I needed these because I have a MountFS instance that has an AggregateFS as its backup FS, but the mounts are all inside of the AggregateFS as well. This lets me access things with an optional mount name, but I needed a way to convert the non-mounted path into the mounted one.

@xoofx xoofx merged commit 93a4ecc into xoofx:master May 10, 2019
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.

2 participants