(path string, commit *object.Commit)
| 579 | } |
| 580 | |
| 581 | func blobHash(path string, commit *object.Commit) (plumbing.Hash, error) { |
| 582 | file, err := commit.File(path) |
| 583 | if err != nil { |
| 584 | return plumbing.ZeroHash, err |
| 585 | } |
| 586 | return file.Hash, nil |
| 587 | } |