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