func golang.org/x/sys/unix.Flock

3 uses

	golang.org/x/sys/unix (current package)
		zsyscall_darwin_amd64.go#L1204: func Flock(fd int, how int) (err error) {

	github.com/go-git/go-billy/v5/osfs
		os_posix.go#L15: 	return unix.Flock(int(f.File.Fd()), unix.LOCK_EX)
		os_posix.go#L22: 	return unix.Flock(int(f.File.Fd()), unix.LOCK_UN)