Documentation
¶
Overview ¶
Package removal deletes what a run or a build leaves that must not stay on disk (a run's secrets file, a knowledge pack's pages and documents in the clear), and says when it could not. On Windows, Docker Desktop's file sharing can keep a handle on a file for a moment after its container is removed, and a file or a directory with an open handle cannot be deleted; so a failed delete is retried there for a bounded time before it is given up.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Tries = triesFor(runtime.GOOS) Delay = 250 * time.Millisecond )
Tries and Delay bound the retry: about five seconds on Windows, one try elsewhere, where a delete that fails will not succeed by waiting.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.