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

Method LastCommit

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

Source from the content-addressed store, hash-verified

369}
370
371func (gc *localGitClient) LastCommit() (*git.Commit, error) {
372 return gc.client.LastCommit(context.Background())
373}
374
375func (gc *remoteGitClient) LastCommit() (*git.Commit, error) {
376 httpClient, err := gc.httpClient()

Callers

nothing calls this directly

Calls 1

LastCommitMethod · 0.65

Tested by

no test coverage detected