From 5004e0a9da665ccc0e18cd4075ee636641b71f0a Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 8 May 2022 19:49:45 +0200 Subject: [bugfix] Fix remote media pruning failing if media already gone (#548) * fix error check of prune to allow missing files * update go-store library, add test for pruning item with db entry but no file Signed-off-by: kim * remove now-unneccessary error check Signed-off-by: kim Co-authored-by: kim --- vendor/codeberg.org/gruf/go-format/util.go | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 vendor/codeberg.org/gruf/go-format/util.go (limited to 'vendor/codeberg.org/gruf/go-format/util.go') diff --git a/vendor/codeberg.org/gruf/go-format/util.go b/vendor/codeberg.org/gruf/go-format/util.go deleted file mode 100644 index 68a9e2de3..000000000 --- a/vendor/codeberg.org/gruf/go-format/util.go +++ /dev/null @@ -1,13 +0,0 @@ -package format - -import "strconv" - -// can32bitInt returns whether it's possible for 's' to contain an int on 32bit platforms. -func can32bitInt(s string) bool { - return strconv.IntSize == 32 && (0 < len(s) && len(s) < 10) -} - -// can64bitInt returns whether it's possible for 's' to contain an int on 64bit platforms. -func can64bitInt(s string) bool { - return strconv.IntSize == 64 && (0 < len(s) && len(s) < 19) -} -- cgit v1.2.3