summaryrefslogtreecommitdiffstats
path: root/Gopkg.toml
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-12-27 19:31:42 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-12-28 17:41:51 +0100
commite50a8c7a142487d88fe0780c24873c1b95a2283c (patch)
tree29b1c4ad4e1dd9af49f45fb7b329d2909c511155 /Gopkg.toml
parent7e76a6fd3bc78363ed31d712c63e6b17734797d7 (diff)
resource: Use MD5 to identify image files
But only a set of byte chunks spread around in the image file to calculate the fingerprint, which is much faster than reading the whole file: ```bash BenchmarkMD5FromFileFast/full=false-4 300000 4356 ns/op 240 B/op 5 allocs/op BenchmarkMD5FromFileFast/full=true-4 30000 42899 ns/op 32944 B/op 5 allocs/op ``` Fixes #4186
Diffstat (limited to 'Gopkg.toml')
-rw-r--r--Gopkg.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gopkg.toml b/Gopkg.toml
index cef7427ce..cc2f66867 100644
--- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -82,7 +82,7 @@
[[constraint]]
name = "github.com/spf13/afero"
- version = "1.0.0"
+ version = "1.0.1"
[[constraint]]
name = "github.com/spf13/cast"