Skip to content

Commit a7060fb

Browse files
author
Luca Bianconi
committed
refactor: removed pointless interface
1 parent 51dab2e commit a7060fb

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

Diff for: buildcache/directory_cache.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (dc *directoryCache) Purge() error {
8787
return nil
8888
}
8989

90-
func newDirectoryCache(baseDir string, ttl time.Duration) cache[string, time.Time] {
90+
func newDirectoryCache(baseDir string, ttl time.Duration) *directoryCache {
9191
return &directoryCache{
9292
baseDir: baseDir,
9393
ttl: ttl,

Diff for: buildcache/interface.go

-21
This file was deleted.

0 commit comments

Comments
 (0)