ref: df1f2fb3daa1acd25c88510f259d5535fb482126
dir: /object/fetch/treefs_path.go/
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}
}