aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/manifest.go
diff options
context:
space:
mode:
authorJavier Peletier <jm@epiclabs.io>2018-09-29 07:00:28 +0800
committerJavier Peletier <jm@epiclabs.io>2018-10-03 15:12:06 +0800
commitf1e86ad9cf0470051b7106ee83794d27276b528d (patch)
tree4a11bd2816200bac0a0e24a3b3c5c79db84e2bf4 /swarm/api/manifest.go
parentbd1f7ebda27d57002b6a04a95812420a40117b3a (diff)
downloadgo-tangerine-f1e86ad9cf0470051b7106ee83794d27276b528d.tar
go-tangerine-f1e86ad9cf0470051b7106ee83794d27276b528d.tar.gz
go-tangerine-f1e86ad9cf0470051b7106ee83794d27276b528d.tar.bz2
go-tangerine-f1e86ad9cf0470051b7106ee83794d27276b528d.tar.lz
go-tangerine-f1e86ad9cf0470051b7106ee83794d27276b528d.tar.xz
go-tangerine-f1e86ad9cf0470051b7106ee83794d27276b528d.tar.zst
go-tangerine-f1e86ad9cf0470051b7106ee83794d27276b528d.zip
swarm/storage/mru: Renamed all identifiers to Feeds
Diffstat (limited to 'swarm/api/manifest.go')
-rw-r--r--swarm/api/manifest.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/api/manifest.go b/swarm/api/manifest.go
index 06be7323e..9672ca540 100644
--- a/swarm/api/manifest.go
+++ b/swarm/api/manifest.go
@@ -56,7 +56,7 @@ type ManifestEntry struct {
ModTime time.Time `json:"mod_time,omitempty"`
Status int `json:"status,omitempty"`
Access *AccessEntry `json:"access,omitempty"`
- ResourceView *mru.View `json:"resourceView,omitempty"`
+ ResourceView *mru.Feed `json:"resourceView,omitempty"`
}
// ManifestList represents the result of listing files in a manifest
@@ -82,7 +82,7 @@ func (a *API) NewManifest(ctx context.Context, toEncrypt bool) (storage.Address,
// Manifest hack for supporting Mutable Resource Updates from the bzz: scheme
// see swarm/api/api.go:API.Get() for more information
-func (a *API) NewResourceManifest(ctx context.Context, view *mru.View) (storage.Address, error) {
+func (a *API) NewResourceManifest(ctx context.Context, view *mru.Feed) (storage.Address, error) {
var manifest Manifest
entry := ManifestEntry{
ResourceView: view,