MCPcopy
hub / github.com/semaphoreui/semaphore / GetLastRemoteCommitHash

Method GetLastRemoteCommitHash

db_lib/GitRepository.go:75–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75func (r GitRepository) GetLastRemoteCommitHash() (hash string, err error) {
76 return r.Client.GetLastRemoteCommitHash(r)
77}
78
79func (r GitRepository) GetRemoteBranches() ([]string, error) {
80 return r.Client.GetRemoteBranches(r)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected