1
0
Fork 0
mirror of https://github.com/vbatts/dedupe-linker.git synced 2025-08-02 07:20:30 +00:00

*: fixup and go vet

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2016-09-08 10:48:40 -04:00
parent 2dadf80440
commit 71720092db
Signed by: vbatts
GPG key ID: 10937E57733F1362
4 changed files with 4 additions and 5 deletions

View file

@ -145,6 +145,5 @@ func (b Base) LinkTo(dest, sum string) error {
// HasBlob tests whether a blob with this sum exists
func (b Base) HasBlob(sum string) bool {
fi, err := b.Stat(sum)
log.Println("SUCH FARTS", fi)
return fi != nil && err == nil
}