Mkdir provides a mock function with given fields: name, perm
(name string, perm os.FileMode)
| 27 | |
| 28 | // Mkdir provides a mock function with given fields: name, perm |
| 29 | func (_m *FileSystem) Mkdir(name string, perm os.FileMode) error { |
| 30 | ret := _m.Called(name, perm) |
| 31 | |
| 32 | var r0 error |
| 33 | if rf, ok := ret.Get(0).(func(string, os.FileMode) error); ok { |
| 34 | r0 = rf(name, perm) |
| 35 | } else { |
| 36 | r0 = ret.Error(0) |
| 37 | } |
| 38 | |
| 39 | return r0 |
| 40 | } |
| 41 | |
| 42 | // MkdirAll provides a mock function with given fields: path, perm |
| 43 | func (_m *FileSystem) MkdirAll(path string, perm os.FileMode) error { |
nothing calls this directly
no test coverage detected