Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kubernetes/client-go
/ unlockFile
Function
unlockFile
tools/clientcmd/loader.go:442–444 ·
view source on GitHub ↗
(filename string)
Source
from the content-addressed store, hash-verified
440
}
441
442
func
unlockFile(filename string) error {
443
return
os.Remove(lockName(filename))
444
}
445
446
func
lockName(filename string) string {
447
return
filename +
".lock"
Callers
2
TestFileLocking
Function · 0.85
ModifyConfig
Function · 0.85
Calls
1
lockName
Function · 0.85
Tested by
1
TestFileLocking
Function · 0.68