Method
WriteFile
(ctx context.Context, op *fuseops.WriteFileOp)
Source from the content-addressed store, hash-verified
| 160 | } |
| 161 | |
| 162 | func (fs *gatedFileSystem) WriteFile(ctx context.Context, op *fuseops.WriteFileOp) error { |
| 163 | if err := fs.wait(ctx); err != nil { |
| 164 | return err |
| 165 | } |
| 166 | return fs.next.WriteFile(ctx, op) |
| 167 | } |
| 168 | |
| 169 | func (fs *gatedFileSystem) SyncFile(ctx context.Context, op *fuseops.SyncFileOp) error { |
| 170 | return fs.next.SyncFile(ctx, op) |
Callers
nothing calls this directly
Tested by
no test coverage detected