Skip to content

Commit

Permalink
refactor: removed pointless interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Bianconi committed Jan 11, 2023
1 parent 51dab2e commit a7060fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion buildcache/directory_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (dc *directoryCache) Purge() error {
return nil
}

func newDirectoryCache(baseDir string, ttl time.Duration) cache[string, time.Time] {
func newDirectoryCache(baseDir string, ttl time.Duration) *directoryCache {
return &directoryCache{
baseDir: baseDir,
ttl: ttl,
Expand Down
21 changes: 0 additions & 21 deletions buildcache/interface.go

This file was deleted.

0 comments on commit a7060fb

Please sign in to comment.