MCPcopy Index your code
hub / github.com/git-bug/git-bug / UpdateRef

Method UpdateRef

repository/repo.go:176–176  ·  view source on GitHub ↗

UpdateRef will create or update a Git reference

(ref string, hash Hash)

Source from the content-addressed store, hash-verified

174
175 // UpdateRef will create or update a Git reference
176 UpdateRef(ref string, hash Hash) error
177
178 // RemoveRef will remove a Git reference
179 // RemoveRef is idempotent.

Callers 5

RepoDataTestFunction · 0.65
CommitMethod · 0.65
MergeMethod · 0.65
CommitMethod · 0.65
mergeFunction · 0.65

Implementers 2

mockRepoDatarepository/mock_repo.go
GoGitReporepository/gogit.go

Calls

no outgoing calls

Tested by

no test coverage detected