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

Method WriteFile

internal/fusefs/gated_fs.go:162–167  ·  view source on GitHub ↗
(ctx context.Context, op *fuseops.WriteFileOp)

Source from the content-addressed store, hash-verified

160}
161
162func (fs *gatedFileSystem) WriteFile(ctx context.Context, op *fuseops.WriteFileOp) error {
163 if err := fs.wait(ctx); err != nil {
164 return err
165 }
166 return fs.next.WriteFile(ctx, op)
167}
168
169func (fs *gatedFileSystem) SyncFile(ctx context.Context, op *fuseops.SyncFileOp) error {
170 return fs.next.SyncFile(ctx, op)

Callers

nothing calls this directly

Calls 2

waitMethod · 0.95
WriteFileMethod · 0.65

Tested by

no test coverage detected