aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/feeds/cacheentry.go
diff options
context:
space:
mode:
authorJavier Peletier <jm@epiclabs.io>2018-10-02 15:32:46 +0800
committerJavier Peletier <jm@epiclabs.io>2018-10-03 15:12:06 +0800
commit58c0879c2fbc9f88f35ba503674088da23a8a5a7 (patch)
tree64214db5b7e47a4b4677a4a487bdc9c83a063202 /swarm/storage/feeds/cacheentry.go
parent68b8088cb9730bfe0ee2395dd5506dc744076fc2 (diff)
downloaddexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.gz
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.bz2
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.lz
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.xz
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.zst
dexon-58c0879c2fbc9f88f35ba503674088da23a8a5a7.zip
swarm/storage/feeds: removed capital Feed throughout
Diffstat (limited to 'swarm/storage/feeds/cacheentry.go')
-rw-r--r--swarm/storage/feeds/cacheentry.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/storage/feeds/cacheentry.go b/swarm/storage/feeds/cacheentry.go
index 7a2f87b56..e40037688 100644
--- a/swarm/storage/feeds/cacheentry.go
+++ b/swarm/storage/feeds/cacheentry.go
@@ -30,7 +30,7 @@ const (
defaultRetrieveTimeout = 100 * time.Millisecond
)
-// cacheEntry caches the last known update of a specific Feed.
+// cacheEntry caches the last known update of a specific Swarm feed.
type cacheEntry struct {
Update
*bytes.Reader
@@ -42,7 +42,7 @@ func (r *cacheEntry) Size(ctx context.Context, _ chan bool) (int64, error) {
return int64(len(r.Update.data)), nil
}
-//returns the Feed's topic
+//returns the feed's topic
func (r *cacheEntry) Topic() Topic {
return r.Feed.Topic
}