Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Id to path mapping and finding objects #9

Open
marcolarosa opened this issue Mar 9, 2022 · 0 comments
Open

Id to path mapping and finding objects #9

marcolarosa opened this issue Mar 9, 2022 · 0 comments

Comments

@marcolarosa
Copy link
Contributor

marcolarosa commented Mar 9, 2022

The repository find method emits a JS object with ocfl root and path of the object located but we really want it to return an id as well.

However, if the id has been hashed before turning into a path on the FS we need to load the ocfl inventory file to extract the id. Currently it looks like the id is the mapped id - that coming in to the library - not the id before any transformations.

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

No branches or pull requests

1 participant