ref: ab174c473618dd3743881cf44e02c2db4d1ecd5f
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}
}