-
Notifications
You must be signed in to change notification settings - Fork 78
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
Is there a way to list all storages/streams with full paths? #66
Comments
@Sonic-The-Hedgehog-LNK1123 , currently there is no such feature. You should customize VisitEntries method to add a "path" parameter in recursive section of the visitor. Anyway this is an enhancement I will include in a next release. |
Has there been any progress made on this? It's essential for an application I'm working on to know what storage each stream originated from. I noticed that in the Structured Storage Explorer, it does this by calling |
What about being able to retrieve the filename over the root? I haven't found a way to do it. |
@Sonic-The-Hedgehog-LNK1123 @farfilli Better late than never... I've added a Is this sufficient for your purposes? |
@farfilli v3 is based around abstract streams, so it's not necessarily tied to a file. However, I've added a property to expose the base Stream and you can use pattern matching from there to get the file name if the base stream is a FileStream. e.g.
Otherwise, I think it would be up to the developer to store the filename separately. |
I need to enumerate all the storages and streams recursively, but when using
CFStorage.VisitEntries(action, true)
I can only get the name property, but then I've no way of knowing to what storage the substorage or stream belongs to!I want to get from this:
to this:
This is probably what #63 meant as well, but that is unclear.
The text was updated successfully, but these errors were encountered: