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

Method ReadFile

internal/fusefs/gated_fs.go:155–160  ·  view source on GitHub ↗
(ctx context.Context, op *fuseops.ReadFileOp)

Source from the content-addressed store, hash-verified

153}
154
155func (fs *gatedFileSystem) ReadFile(ctx context.Context, op *fuseops.ReadFileOp) error {
156 if err := fs.wait(ctx); err != nil {
157 return err
158 }
159 return fs.next.ReadFile(ctx, op)
160}
161
162func (fs *gatedFileSystem) WriteFile(ctx context.Context, op *fuseops.WriteFileOp) error {
163 if err := fs.wait(ctx); err != nil {

Callers

nothing calls this directly

Calls 1

waitMethod · 0.95

Tested by

no test coverage detected