Skip to content

Commit

Permalink
update comment (#2084)
Browse files Browse the repository at this point in the history
update Cache.Contents() comment
  • Loading branch information
ahrav authored Nov 1, 2023
1 parent 7197e4b commit d55cb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cache/memory/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (c *Cache) Values() []string {
return res
}

// Contents returns all key-value pairs in the cache encodes as a string.
// Contents returns a comma-separated string containing all keys in the cache.
func (c *Cache) Contents() string {
items := c.c.Items()
res := make([]string, 0, len(items))
Expand Down

0 comments on commit d55cb56

Please sign in to comment.