Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2023-11-06 19:14:35 +0300
committerJaime Martinez <jmartinez@gitlab.com>2023-11-06 19:14:35 +0300
commit682415d166b44b2ae6ca1904b5849b32d63396c2 (patch)
tree42c0d2e804c3a37072c152f8167be0371f558b30
parent54999533a393665a28e42d526e9da215d024c873 (diff)
Update interface signature
-rw-r--r--internal/vfs/zip/vfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/vfs/zip/vfs.go b/internal/vfs/zip/vfs.go
index 6b42e627..b2207bba 100644
--- a/internal/vfs/zip/vfs.go
+++ b/internal/vfs/zip/vfs.go
@@ -38,7 +38,7 @@ var (
)
type lruCache interface {
- FindOrFetch(cacheNamespace, key string, fetchFn func() (interface{}, error)) (interface{}, error)
+ FindOrFetch(cacheNamespace, key string, fetchFn func() (any, error)) (any, error)
}
// zipVFS is a simple cached implementation of the vfs.VFS interface