Monorepo for Tangled
at fix-refresh-issues 16 lines 363 B view raw
1package types 2 3import ( 4 "github.com/go-git/go-git/v5/plumbing/object" 5) 6 7// A nicer git tree representation. 8type NiceTree struct { 9 Name string `json:"name"` 10 Mode string `json:"mode"` 11 Size int64 `json:"size"` 12 IsFile bool `json:"is_file"` 13 IsSubtree bool `json:"is_subtree"` 14 15 LastCommit *object.Commit `json:"last_commit,omitempty"` 16}