mirror of
https://github.com/vbatts/dedupe-linker.git
synced 2024-12-28 01:26:33 +00:00
main: go vet
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
9a2f27d084
commit
6a4df87d10
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -77,7 +77,7 @@ func main() {
|
|||
fmt.Printf("%s [%d] %s\n", fi.Hash, fi.Size, fi.Path)
|
||||
} else {
|
||||
if os.Getenv("DEBUG") != "" {
|
||||
fmt.Printf("%q: %q\n", fi.Path, ourbase.HasBlob(fi.Hash))
|
||||
fmt.Printf("%q: %t\n", fi.Path, ourbase.HasBlob(fi.Hash))
|
||||
}
|
||||
if ourbase.HasBlob(fi.Hash) && !ourbase.SameFile(fi.Hash, fi.Path) {
|
||||
if err := ourbase.LinkTo(fi.Path, fi.Hash); err != nil {
|
||||
|
|
Loading…
Reference in a new issue