Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2d5c5f0

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

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

‎buildcache/directory_cache.go‎

Lines changed: 1 addition & 1 deletion
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,

‎buildcache/interface.go‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /