go/src/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go

type lockType

const readLock

const writeLock

func lock(f File, lt lockType) (err error) {}

func unlock(f File) error {}