(ctx context.Context, path string, flag int, perm os.FileMode)
| 150 | } |
| 151 | |
| 152 | func openHandler(ctx context.Context, path string, flag int, perm os.FileMode) (io.ReadWriteCloser, error) { |
| 153 | if path == "/dev/null" { |
| 154 | return devNull{}, nil |
| 155 | } |
| 156 | return interp.DefaultOpenHandler()(ctx, path, flag, perm) |
| 157 | } |
| 158 | |
| 159 | func dirOption(path string) interp.RunnerOption { |
| 160 | return func(r *interp.Runner) error { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…