MCPcopy Index your code
hub / github.com/smallstep/cli / fileUnlock

Function fileUnlock

utils/sysutils/sysutils_unix.go:17–19  ·  view source on GitHub ↗
(fd int)

Source from the content-addressed store, hash-verified

15}
16
17func fileUnlock(fd int) error {
18 return syscall.Flock(fd, syscall.LOCK_UN)
19}
20
21func kill(pid int, signum syscall.Signal) error {
22 return syscall.Kill(pid, signum)

Callers 1

FileUnlockFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…