MCPcopy Create free account
hub / github.com/cloudflare/artifact-fs / CreateFile

Method CreateFile

internal/fusefs/gated_fs.go:81–86  ·  view source on GitHub ↗
(ctx context.Context, op *fuseops.CreateFileOp)

Source from the content-addressed store, hash-verified

79}
80
81func (fs *gatedFileSystem) CreateFile(ctx context.Context, op *fuseops.CreateFileOp) error {
82 if err := fs.wait(ctx); err != nil {
83 return err
84 }
85 return fs.next.CreateFile(ctx, op)
86}
87
88func (fs *gatedFileSystem) CreateLink(ctx context.Context, op *fuseops.CreateLinkOp) error {
89 if err := fs.wait(ctx); err != nil {

Callers

nothing calls this directly

Calls 2

waitMethod · 0.95
CreateFileMethod · 0.65

Tested by

no test coverage detected