Skip to content

Commit 5330d24

Browse files
committed
Remove unused broken function
1 parent 72f2f27 commit 5330d24

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

pkg/linkcache/cache.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,6 @@ func NewListingCache(period time.Duration, dir string) *ListingCache {
5454
}
5555
}
5656

57-
func NewMockListingCache(period time.Duration, dir string) *ListingCache {
58-
return &ListingCache{
59-
period: period,
60-
dir: dir,
61-
links: newLinkCache(),
62-
fs: &mockFS{},
63-
}
64-
}
65-
6657
// Run starts the cache's background loop. The filesystem is listed and the cache
6758
// updated according to the frequency specified by the period. It will run until
6859
// the context is cancelled.

0 commit comments

Comments
 (0)