MCPcopy
hub / github.com/cli/cli / LastCommit

Method LastCommit

pkg/cmd/browse/browse.go:359–359  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

357// gitClient is used to implement functions that can be performed on both local and remote git repositories
358type gitClient interface {
359 LastCommit() (*git.Commit, error)
360}
361
362type localGitClient struct {

Callers 3

runBrowseFunction · 0.65
LastCommitMethod · 0.65
warnIfDivergedMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected