Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
1234567891011121314151617181920212223242526package types
import ( "time"
"github.com/go-git/go-git/v5/plumbing")
// A nicer git tree representation.type NiceTree struct { // Relative path Name string `json:"name"` Mode string `json:"mode"` Size int64 `json:"size"` IsFile bool `json:"is_file"` IsSubtree bool `json:"is_subtree"`
LastCommit *LastCommitInfo `json:"last_commit,omitempty"`}
type LastCommitInfo struct { Hash plumbing.Hash Message string When time.Time}