(name string)
| 95 | } |
| 96 | |
| 97 | func (o *overlayFS) Open(name string) (fs.File, error) { |
| 98 | if !fs.ValidPath(name) { |
| 99 | return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrInvalid} |
| 100 | } |
| 101 | return o.openFollow(name, 0) |
| 102 | } |
| 103 | |
| 104 | // Lstat returns a FileInfo describing the named file without following |
| 105 | // the final symlink component. Intermediate symlinks are resolved through |