Lines Matching refs:mockFileInfo
379 type mockFileInfo struct { struct
389 func (m *mockFileInfo) Name() string { argument
393 func (m *mockFileInfo) Size() int64 { argument
397 func (m *mockFileInfo) Mode() os.FileMode { argument
401 func (m *mockFileInfo) ModTime() time.Time { argument
405 func (m *mockFileInfo) IsDir() bool { argument
409 func (m *mockFileInfo) Sys() interface{} { argument
413 func (m *MockFs) dirToFileInfo(d *mockDir, path string) (info *mockFileInfo) {
414 return &mockFileInfo{
426 func (m *MockFs) fileToFileInfo(f *mockFile, path string) (info *mockFileInfo) {
427 return &mockFileInfo{
438 func (m *MockFs) linkToFileInfo(l *mockLink, path string) (info *mockFileInfo) {
439 return &mockFileInfo{
504 mockInfo, ok := info.(*mockFileInfo)
511 mockInfo, ok := info.(*mockFileInfo)
518 mockInfo, ok := info.(*mockFileInfo)