We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72f2f27 commit 5330d24Copy full SHA for 5330d24
pkg/linkcache/cache.go
@@ -54,15 +54,6 @@ func NewListingCache(period time.Duration, dir string) *ListingCache {
54
}
55
56
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
-
66
// Run starts the cache's background loop. The filesystem is listed and the cache
67
// updated according to the frequency specified by the period. It will run until
68
// the context is cancelled.
0 commit comments