summaryrefslogtreecommitdiff
path: root/vendor/codeberg.org/gruf/go-errors/std.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-05-08 19:49:45 +0200
committerLibravatar GitHub <noreply@github.com>2022-05-08 18:49:45 +0100
commit5004e0a9da665ccc0e18cd4075ee636641b71f0a (patch)
treeb7c8269b954ced61afa9fffd7305bd88acca6f8e /vendor/codeberg.org/gruf/go-errors/std.go
parent[bugfix] Fix existing bio text showing as HTML (#531) (diff)
downloadgotosocial-5004e0a9da665ccc0e18cd4075ee636641b71f0a.tar.xz
[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 <grufwub@gmail.com> * remove now-unneccessary error check Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: kim <grufwub@gmail.com>
Diffstat (limited to 'vendor/codeberg.org/gruf/go-errors/std.go')
-rw-r--r--vendor/codeberg.org/gruf/go-errors/std.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/codeberg.org/gruf/go-errors/std.go b/vendor/codeberg.org/gruf/go-errors/std.go
deleted file mode 100644
index 2e4e9a0c4..000000000
--- a/vendor/codeberg.org/gruf/go-errors/std.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package errors
-
-import "errors"
-
-// Is wraps "errors".Is()
-func Is(err, target error) bool {
- return errors.Is(err, target)
-}
-
-// As wraps "errors".As()
-func As(err error, target interface{}) bool {
- return errors.As(err, target)
-}
-
-// Unwrap wraps "errors".Unwrap()
-func Unwrap(err error) error {
- return errors.Unwrap(err)
-}