aboutsummaryrefslogtreecommitdiff
path: root/object/fetch/treefs_path.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/fetch/treefs_path.go')
-rw-r--r--object/fetch/treefs_path.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/object/fetch/treefs_path.go b/object/fetch/treefs_path.go
deleted file mode 100644
index a2dc3155..00000000
--- a/object/fetch/treefs_path.go
+++ /dev/null
@@ -1,11 +0,0 @@
-package fetch
-
-import "io/fs"
-
-func treeFSValidPath(name string) bool {
- return name == "." || fs.ValidPath(name)
-}
-
-func treeFSPathError(op treeFSOp, path string, err error) error {
- return &fs.PathError{Op: op.pathErrorOp(), Path: path, Err: err}
-}