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

Method GetInodeAttributes

internal/fusefs/gated_fs.go:43–50  ·  view source on GitHub ↗
(ctx context.Context, op *fuseops.GetInodeAttributesOp)

Source from the content-addressed store, hash-verified

41}
42
43func (fs *gatedFileSystem) GetInodeAttributes(ctx context.Context, op *fuseops.GetInodeAttributesOp) error {
44 if op.Inode != fuseops.RootInodeID {
45 if err := fs.wait(ctx); err != nil {
46 return err
47 }
48 }
49 return fs.next.GetInodeAttributes(ctx, op)
50}
51
52func (fs *gatedFileSystem) SetInodeAttributes(ctx context.Context, op *fuseops.SetInodeAttributesOp) error {
53 if err := fs.wait(ctx); err != nil {

Callers

nothing calls this directly

Calls 1

waitMethod · 0.95

Tested by

no test coverage detected