(path string, perm os.FileMode)
| 171 | } |
| 172 | |
| 173 | func (s *ScopedFs) MkdirAll(path string, perm os.FileMode) error { |
| 174 | if err := s.guard(path); err != nil { |
| 175 | return err |
| 176 | } |
| 177 | return s.base.MkdirAll(path, perm) |
| 178 | } |
| 179 | |
| 180 | func (s *ScopedFs) Open(name string) (afero.File, error) { |
| 181 | if err := s.guard(name); err != nil { |