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

Follow symbolic links in DirectoryStore #298

Open
alimanfoo opened this issue Sep 4, 2018 · 6 comments
Open

Follow symbolic links in DirectoryStore #298

alimanfoo opened this issue Sep 4, 2018 · 6 comments
Labels
enhancement New features or improvements

Comments

@alimanfoo
Copy link
Member

Not sure if this is possible or how easy to implement, but it might be convenient if DirectoryStore followed symbolic links, allowing symlinks to be used to create cross-links within a hierarchy, or to link between different stores (e.g., to create different views of data within a store).

xref #297

@jakirkham
Copy link
Member

How would we handle this in other stores?

@alimanfoo
Copy link
Member Author

I think it's only relevant to DirectoryStore and NestedDirectoryStore as these expose the hierarchy as a directory structure, so symlinks to directories provides a means to do some useful things. Not sure symlinks would be useful or make any sense for other stores.

@jakirkham
Copy link
Member

Guess I was imagining them being some text with a path. Though this really depends on whether links are first class objects (like how they are in HDF5).

This might also come up if a user converts between two different types of stores.

@jakirkham
Copy link
Member

FWIW another use case for links (as well as object and region references) is NWB where they want to reference data in multiple places. They actually started implementing something on top of Zarr, but the lack of these features was a blocker for them.

xref: NeurodataWithoutBorders/pynwb#230 (comment)

@alimanfoo
Copy link
Member Author

alimanfoo commented Jan 4, 2019 via email

@jakirkham
Copy link
Member

Sure. Have raised issue ( #389 ).

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

No branches or pull requests

3 participants