1 2 3 4 5 6 7 8 9 10 11
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} }