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

Implement path resolution and content aggregation algorithm #1

Open
dysbulic opened this issue Apr 14, 2021 · 0 comments
Open

Implement path resolution and content aggregation algorithm #1

dysbulic opened this issue Apr 14, 2021 · 0 comments

Comments

@dysbulic
Copy link
Member

dysbulic commented Apr 14, 2021

From the README,

  1. Start the search queue with the Mïmis root from IDX.
  2. Each Mïmis node has an optional ordered list of DIDs of overriding users. If any are specified, add their Mïmis roots to the search queue in the order given for the DIDs.
  3. While there is more than one element remaining in the path to be dereferenced, shift the first element and iterate over the search queue, looking for directory nodes that have a child element that matches the current path portion.
  4. Each iteration produces a new search queue one level deeper in the tree.
  5. If a node has overrides, those overrides are added to the search queue following the element being dereferenced. The node added to the queue is from the same position in the tree as is currently being defreferenced.
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

No branches or pull requests

1 participant