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

Appearance settings

Commit a7060fb

Browse filesBrowse files
author
Luca Bianconi
committed
refactor: removed pointless interface
1 parent 51dab2e commit a7060fb
Copy full SHA for a7060fb

File tree

Expand file treeCollapse file tree

2 files changed

+1
-22
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-22
lines changed

‎buildcache/directory_cache.go

Copy file name to clipboardExpand all lines: buildcache/directory_cache.go
+1-1Lines 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

Copy file name to clipboardExpand all lines: buildcache/interface.go
-21Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.