We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a907b commit f31be30Copy full SHA for f31be30
experimental/checkpoint.go
@@ -30,7 +30,7 @@ type EnableSnapshotterKey = ctxkey.EnableSnapshotterKey
30
31
// WithSnapshotter enables snapshots.
32
// Passing the returned context to a exported function invocation enables snapshots,
33
-// and allows host functions to retrieve the Snapshotter using SnapshotterKey.
+// and allows host functions to retrieve the Snapshotter using GetSnapshotter.
34
func WithSnapshotter(ctx context.Context) context.Context {
35
return context.WithValue(ctx, ctxkey.EnableSnapshotterKey{}, struct{}{})
36
}
0 commit comments