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

Method DeleteLooseObject

storage/filesystem/object.go:882–884  ·  view source on GitHub ↗
(hash plumbing.Hash)

Source from the content-addressed store, hash-verified

880}
881
882func (s *ObjectStorage) DeleteLooseObject(hash plumbing.Hash) error {
883 return s.dir.ObjectDelete(hash)
884}
885
886func (s *ObjectStorage) ObjectPacks() ([]plumbing.Hash, error) {
887 return s.dir.ObjectPacks()

Callers

nothing calls this directly

Calls 1

ObjectDeleteMethod · 0.80

Tested by

no test coverage detected