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

Method ReadDir

internal/fusefs/gated_fs.go:130–135  ·  view source on GitHub ↗
(ctx context.Context, op *fuseops.ReadDirOp)

Source from the content-addressed store, hash-verified

128}
129
130func (fs *gatedFileSystem) ReadDir(ctx context.Context, op *fuseops.ReadDirOp) error {
131 if err := fs.wait(ctx); err != nil {
132 return err
133 }
134 return fs.next.ReadDir(ctx, op)
135}
136
137func (fs *gatedFileSystem) ReadDirPlus(ctx context.Context, op *fuseops.ReadDirPlusOp) error {
138 if err := fs.wait(ctx); err != nil {

Callers

nothing calls this directly

Calls 1

waitMethod · 0.95

Tested by

no test coverage detected