MCPcopy
hub / github.com/filebrowser/filebrowser / MkdirAll

Method MkdirAll

files/scoped.go:173–178  ·  view source on GitHub ↗
(path string, perm os.FileMode)

Source from the content-addressed store, hash-verified

171}
172
173func (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
180func (s *ScopedFs) Open(name string) (afero.File, error) {
181 if err := s.guard(name); err != nil {

Calls 1

guardMethod · 0.95