MCPcopy Create free account
hub / github.com/conforma/cli / WithFS

Function WithFS

internal/utils/helpers.go:77–79  ·  view source on GitHub ↗
(ctx context.Context, fs afero.Fs)

Source from the content-addressed store, hash-verified

75}
76
77func WithFS(ctx context.Context, fs afero.Fs) context.Context {
78 return context.WithValue(ctx, fsKey, fs)
79}
80
81// create a file in a temp dir with contents of data
82func WriteTempFile(ctx context.Context, data, prefix string) (string, error) {

Calls

no outgoing calls