Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanTempDir ¶
func CleanTempDir(ctx logContext.Context, dirName string, pid int) error
Deletes orphaned temp directories that do not contain running PID values
Types ¶
type CleanTemp ¶
type CleanTemp interface { //Removes orphaned directories from sources like Git CleanTempDir(ctx logContext.Context, dirName string, pid int) error //Removes orphaned files/artifacts from sources like Artifactory CleanTempFiles(ctx context.Context, fileName string, pid int) error }
Defines the interface for removing orphaned artifacts from aborted scans
Click to show internal directories.
Click to hide internal directories.