mirror of
https://github.com/rclone/rclone.git
synced 2025-06-30 12:30:56 +02:00
doc: fix typos throughout docs and code
This commit is contained in:
committed by
Nick Craig-Wood
parent
5f71d186b2
commit
4aee962233
4
lib/cache/cache.go
vendored
4
lib/cache/cache.go
vendored
@ -95,7 +95,7 @@ func (c *Cache) Unpin(key string) {
|
||||
c.addPin(key, -1)
|
||||
}
|
||||
|
||||
// Put puts an value named key into the cache
|
||||
// Put puts a value named key into the cache
|
||||
func (c *Cache) Put(key string, value interface{}) {
|
||||
c.mu.Lock()
|
||||
defer c.mu.Unlock()
|
||||
@ -159,7 +159,7 @@ func (c *Cache) cacheExpire() {
|
||||
}
|
||||
}
|
||||
|
||||
// Clear removes everything from the cahce
|
||||
// Clear removes everything from the cache
|
||||
func (c *Cache) Clear() {
|
||||
c.mu.Lock()
|
||||
for k := range c.cache {
|
||||
|
Reference in New Issue
Block a user