summaryrefslogtreecommitdiffstats
path: root/cache/filecache
diff options
context:
space:
mode:
authorPhil Davis <phil@jankaritech.com>2020-12-16 16:56:32 +0545
committerGitHub <noreply@github.com>2020-12-16 12:11:32 +0100
commit04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch)
tree585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /cache/filecache
parent21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff)
all: Fix minor typos
Diffstat (limited to 'cache/filecache')
-rw-r--r--cache/filecache/filecache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/filecache/filecache.go b/cache/filecache/filecache.go
index c586f9a51..ffb0895b0 100644
--- a/cache/filecache/filecache.go
+++ b/cache/filecache/filecache.go
@@ -221,7 +221,7 @@ func (c *Cache) GetOrCreateBytes(id string, create func() ([]byte, error)) (Item
return info, b, nil
}
-// GetBytes gets the file content with the given id from the cahce, nil if none found.
+// GetBytes gets the file content with the given id from the cache, nil if none found.
func (c *Cache) GetBytes(id string) (ItemInfo, []byte, error) {
id = cleanID(id)