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

Method OpenFile

internal/fusefs/gated_fs.go:148–153  ·  view source on GitHub ↗
(ctx context.Context, op *fuseops.OpenFileOp)

Source from the content-addressed store, hash-verified

146}
147
148func (fs *gatedFileSystem) OpenFile(ctx context.Context, op *fuseops.OpenFileOp) error {
149 if err := fs.wait(ctx); err != nil {
150 return err
151 }
152 return fs.next.OpenFile(ctx, op)
153}
154
155func (fs *gatedFileSystem) ReadFile(ctx context.Context, op *fuseops.ReadFileOp) error {
156 if err := fs.wait(ctx); err != nil {

Callers

nothing calls this directly

Calls 1

waitMethod · 0.95

Tested by

no test coverage detected