Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
add support for pinning mfs
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann committed Dec 4, 2020
1 parent f5c0084 commit 2c0d54c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion remotepin.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ type Pinning struct {
}

type RemotePinningService struct {
Api RemotePinningServiceApi
Api RemotePinningServiceApi
Policies RemotePinningServicePolicies
}

type RemotePinningServiceApi struct {
ApiEndpoint string
ApiKey string
}

type RemotePinningServicePolicies struct {
// PinMFS enables watching for changes in MFS and re-pinning the MFS root cid whenever a change occurs.
PinMFS *bool
}

0 comments on commit 2c0d54c

Please sign in to comment.