MCPcopy Create free account
hub / github.com/go-git/go-git / RemoveReference

Method RemoveReference

storage/memory/storage.go:297–300  ·  view source on GitHub ↗
(n plumbing.ReferenceName)

Source from the content-addressed store, hash-verified

295}
296
297func (r ReferenceStorage) RemoveReference(n plumbing.ReferenceName) error {
298 delete(r, n)
299 return nil
300}
301
302type ShallowStorage []plumbing.Hash
303

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected