carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

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