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

Function TestCleanupOldRemovesStaleFile

internal/update/update_test.go:429–440  ·  view source on GitHub ↗

TestCleanupOldRemovesStaleFile: the previous Apply's .old must be removed at the next launch so it doesn't accumulate. On Windows .old stays locked until the previous process exits, so cleanup must run at launch, not at Apply's end.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

CleanupOldFunction · 0.85

Tested by

no test coverage detected