Skip to content
This repository has been archived by the owner. It is now read-only.

Xgit.Repository.WorkingTree.dir_cache/1 output is potentially large. #88

Open
3 tasks done
scouten opened this issue Aug 16, 2019 · 0 comments
Open
3 tasks done
Labels
help wanted

Comments

@scouten
Copy link
Collaborator

scouten commented Aug 16, 2019

  • Add label: "TO DO"
  • Add label: "good first issue" or "help wanted" if appropriate
  • Add link to this issue in a comment near the TO DO comment

Describe What Is Incomplete
The function Xgit.Repository.WorkingTree.dir_cache/1 returns a full copy of the Xgit.Core.DirCache struct, complete with all of its entries. That's fine for a small repo, but risky for a potentially large repo.

Definition of Done
Think through how to pass a snapshot of the DirCache struct without overwhelming the VM message-passing mechanism. (Consider a repo with many thousands of files in the index.)

@scouten scouten added the help wanted label Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted
Projects
None yet
Development

No branches or pull requests

1 participant