This repository has been archived by the owner. It is now read-only.
Xgit.Repository.WorkingTree.dir_cache/1 output is potentially large. #88
Labels
help wanted
Extra attention is needed
scouten commentedAug 16, 2019
TO DO
commentDescribe What Is Incomplete
The function
Xgit.Repository.WorkingTree.dir_cache/1
returns a full copy of theXgit.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.)The text was updated successfully, but these errors were encountered: