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

Commit 2c0d54c

Browse files
committed
add support for pinning mfs
1 parent f5c0084 commit 2c0d54c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

remotepin.go

+7-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,16 @@ type Pinning struct {
1212
}
1313

1414
type RemotePinningService struct {
15-
Api RemotePinningServiceApi
15+
Api RemotePinningServiceApi
16+
Policies RemotePinningServicePolicies
1617
}
1718

1819
type RemotePinningServiceApi struct {
1920
ApiEndpoint string
2021
ApiKey string
2122
}
23+
24+
type RemotePinningServicePolicies struct {
25+
// PinMFS enables watching for changes in MFS and re-pinning the MFS root cid whenever a change occurs.
26+
PinMFS *bool
27+
}

0 commit comments

Comments
 (0)