MCPcopy Create free account
hub / github.com/codehamr/codehamr / CleanupOld

Function CleanupOld

internal/update/update.go:232–243  ·  view source on GitHub ↗

CleanupOld removes the execPath+".old" left by a previous Apply. Run at the start of the next launch: on Windows the .old is locked for the prior process's lifetime, so unlink-at-Apply-time fails but unlink-at-next-launch wins. Failure is silent: a leftover .old wastes disk but never breaks the sess

(execPath string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

mainFunction · 0.92

Calls

no outgoing calls