(filepath string)
| 20 | } |
| 21 | |
| 22 | func NewSha1Checksum(filepath string) Sha1Checksum { |
| 23 | return &sha1Checksum{ |
| 24 | filepath: filepath, |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | func (c *sha1Checksum) CheckSha1(targetSha1 string) bool { |
| 29 | sha1, err := c.ComputeFileSha1() |
no outgoing calls
no test coverage detected