func (_m *FS) ReadDir(path string) ([]iofs.FileInfo, error) {
	ret := _m.Called(path)

	var r0 []iofs.FileInfo
	if rf, ok := ret.Get(0).(func(string) []iofs.FileInfo); ok {
		r0 = rf(path)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]iofs.FileInfo)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(path)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// ReadDir provides a mock function with given fields: path
ReadDir provides a mock function with given fields: path
// ReadDir provides a mock function with given fields : path
func (_m *FS) ReadDir(path string) ([]iofs.FileInfo, error) {
	ret := _m.Called(path)
	var r0 []iofs.FileInfo
	if rf, ok := ret.Get(0).(func(string) []iofs.FileInfo); ok {
		r0 = rf(path)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]iofs.FileInfo)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(path)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * FS ) ReadDir ( path string ) ( [ ] iofs . FileInfo , error ) { ret := _m . Called ( path ) var r0 [ ] iofs . FileInfo if rf , ok := ret . Get ( 0 ) . ( func ( string ) [ ] iofs . FileInfo ) ; ok { r0 = rf ( path ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( [ ] iofs . FileInfo ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( string ) error ) ; ok { r1 = rf ( path ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
ReadDir provides a mock function with given fields: path
ReadDir provides a mock function with given fields : path