Method
ReadFile
(ctx context.Context, op *fuseops.ReadFileOp)
Source from the content-addressed store, hash-verified
| 153 | } |
| 154 | |
| 155 | func (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 | |
| 162 | func (fs *gatedFileSystem) WriteFile(ctx context.Context, op *fuseops.WriteFileOp) error { |
| 163 | if err := fs.wait(ctx); err != nil { |
Callers
nothing calls this directly
Tested by
no test coverage detected