Download this file
| 1 | //go:build !unix |
| 2 | |
| 3 | package hostexec |
| 4 | |
| 5 | import "context" |
| 6 | |
| 7 | type localDir struct{} |
| 8 | |
| 9 | func openLocal(string) (*localDir, error) { return nil, ErrUnsupported } |
| 10 | func (*localDir) close() {} |
| 11 | func (*localDir) read(string) (State, error) { return State{}, ErrUnsupported } |
| 12 | func (*localDir) write(State) error { return ErrUnsupported } |
| 13 | func (*localDir) remove(string) error { return ErrUnsupported } |
| 14 | func acquire(context.Context, string, string) (func(), error) { return nil, ErrUnsupported } |
| 15 | |
| 16 | func tryAcquire(string, string) (func(), error) { return nil, ErrUnsupported } |
| 17 | func tryAcquireLive(string, string) (func(), error) { return nil, ErrUnsupported } |
| 18 | |