(ctx context.Context, fs afero.Fs)
| 75 | } |
| 76 | |
| 77 | func 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 |
| 82 | func WriteTempFile(ctx context.Context, data, prefix string) (string, error) { |
no outgoing calls