Skip to content

Commit

Permalink
expose tagger from mockfs
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Sep 15, 2023
1 parent 00779a1 commit c13d172
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mockfs/mockfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ func newMockFS(t testing.TB, dirs []string, excludePattern string) *MockFS {
}
}

func (m *MockFS) DB() *db.DB { return m.db }
func (m *MockFS) TmpDir() string { return m.dir }
func (m *MockFS) DB() *db.DB { return m.db }
func (m *MockFS) TmpDir() string { return m.dir }
func (m *MockFS) TagReader() tags.Reader { return m.tagReader }

func (m *MockFS) ScanAndClean() *scanner.Context {
ctx, err := m.scanner.ScanAndClean(scanner.ScanOptions{})
Expand Down

0 comments on commit c13d172

Please sign in to comment.