summaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authorOleksandr Redko <Oleksandr_Redko@epam.com>2023-05-22 20:11:12 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-19 09:26:29 +0200
commit9009c8cdca448e50704f7ecd1a3918c5919b0f37 (patch)
tree960aaa2b80a07c959360ad66fc79ebe7c0fa9632 /cache
parent12dc9a6e4acd5280a3e8b1658cbb96669fa97057 (diff)
all: Fix typos in function names and comments
Diffstat (limited to 'cache')
-rw-r--r--cache/docs.go2
-rw-r--r--cache/filecache/filecache_config.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cache/docs.go b/cache/docs.go
index babecec22..b9c49840f 100644
--- a/cache/docs.go
+++ b/cache/docs.go
@@ -1,2 +1,2 @@
-// Package cache contains the differenct cache implementations.
+// Package cache contains the different cache implementations.
package cache
diff --git a/cache/filecache/filecache_config.go b/cache/filecache/filecache_config.go
index e8019578a..33d2750ea 100644
--- a/cache/filecache/filecache_config.go
+++ b/cache/filecache/filecache_config.go
@@ -81,7 +81,7 @@ type FileCacheConfig struct {
// Max age of cache entries in this cache. Any items older than this will
// be removed and not returned from the cache.
// A negative value means forever, 0 means cache is disabled.
- // Hugo is leninent with what types it accepts here, but we recommend using
+ // Hugo is lenient with what types it accepts here, but we recommend using
// a duration string, a sequence of decimal numbers, each with optional fraction and a unit suffix,
// such as "300ms", "1.5h" or "2h45m".
// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".