Fast implementation of Git in pure Go codeberg.org/lindenii/furgit
git go
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

*: Audit labels

Runxi Yu 65242328 f50ac551

+4 -4
+1 -1
object/fetch/treefs_new.go
··· 5 5 // TreeFS returns a new filesystem view rooted at root, which may be any 6 6 // tree-ish object accepted by PeelToTreeID. 7 7 // 8 - // Labels: Deps-Borrowed, Life-Parent, Close-No. 8 + // Labels: Deps-Borrowed, Life-Parent. 9 9 func (r *Fetcher) TreeFS(root objectid.ObjectID) (*TreeFS, error) { 10 10 rootTree, err := r.PeelToTreeID(root) 11 11 if err != nil {
+1 -1
repository/commit_queries.go
··· 7 7 // 8 8 // Use CommitQueries for ancestor checks and merge-base computation. 9 9 // 10 - // Labels: Life-Parent, Close-No. 10 + // Labels: Life-Parent. 11 11 func (repo *Repository) CommitQueries() *commitquery.Queries { 12 12 return repo.commitQueries 13 13 }
+1 -1
repository/fetcher.go
··· 8 8 // need to peel through annotated tags, or when you want path-based access 9 9 // within trees. 10 10 // 11 - // Labels: Life-Parent, Close-No. 11 + // Labels: Life-Parent. 12 12 func (repo *Repository) Fetcher() *fetch.Fetcher { 13 13 return repo.fetcher 14 14 }
+1 -1
repository/reachability.go
··· 8 8 // Use Reachability to walk reachable commits or objects and to perform 9 9 // connectivity checks. 10 10 // 11 - // Labels: Life-Parent, Close-No. 11 + // Labels: Life-Parent. 12 12 func (repo *Repository) Reachability() *reachability.Reachability { 13 13 return reachability.New(repo.objects, repo.commitGraph) 14 14 }