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 26a8d86 commit 2051dc1
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 2051dc1

Please sign in to comment.