code: func (d *DotGit) ObjectDelete(h plumbing.Hash) error {
  	d.cleanObjectList()
  
  	err1 := d.fs.Remove(d.objectPath(h))
  	if os.IsNotExist(err1) && d.hasIncomingObjects() {
  		err2 := d.fs.Remove(d.incomingObjectPath(h))
  		if err2 != nil {
  			return err1
  		}
  		return err2
  	}
  	return err1
  }
docs: // ObjectDelete removes the object file, if exists