MCPcopy Create free account
hub / github.com/cli/cli / LastCommit

Method LastCommit

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

Source from the content-addressed store, hash-verified

270type testGitClient struct{}
271
272func (gc *testGitClient) LastCommit() (*git.Commit, error) {
273 return &git.Commit{Sha: "6f1a2405cace1633d89a79c74c65f22fe78f9659"}, nil
274}
275
276func Test_runBrowse(t *testing.T) {
277 s := string(os.PathSeparator)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected