(h plumbing.Hash)
| 567 | } |
| 568 | |
| 569 | func (d *DotGit) objectPath(h plumbing.Hash) string { |
| 570 | hex := h.String() |
| 571 | return d.fs.Join(objectsPath, hex[0:2], hex[2:hash.HexSize]) |
| 572 | } |
| 573 | |
| 574 | // incomingObjectPath is intended to add support for a git pre-receive hook |
| 575 | // to be written it adds support for go-git to find objects in an "incoming" |
no test coverage detected