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

File Indexing #94

Open
teodosin opened this issue Aug 11, 2024 · 0 comments
Open

File Indexing #94

teodosin opened this issue Aug 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request foundational A long-term decision or architectural implementation. Worth the extra effort.

Comments

@teodosin
Copy link
Owner

Graph needs a function for indexing a single files' connections. This function needs to:

  • Take a NodePath as input
  • If that input node is a directory, look at all contained paths
  • For each contained path, check if there is a node in the db. If not, create it.
  • Look at the input node's connections in the db
  • If the db node is physical, but the path it's referring to no longer exists, mark the db node as dead (let's not be hasty with deletions just yet)

Could have a separate function that cleans up dead db nodes.

@teodosin teodosin added enhancement New feature or request foundational A long-term decision or architectural implementation. Worth the extra effort. labels Aug 11, 2024
@teodosin teodosin self-assigned this Aug 11, 2024
@teodosin teodosin transferred this issue from teodosin/karta_server Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request foundational A long-term decision or architectural implementation. Worth the extra effort.
Projects
None yet
Development

No branches or pull requests

1 participant