CleanupPolicy type

How a resource cleanup should be handled. See subtypes.

Direct children types

KeepCleanupPolicy
The resource should be kept
KeepOnErrorCleanupPolicy
The resource should be kept if an error occurred, otherwise removed
RemoveCleanupPolicy
The resource sohuld be removed

Methods

code(p:CleanupPolicy) Source: stdlib.ngs:5914
Convert CleanupPolicy to code
init(t:TmpFsObj, cleanup_policy:CleanupPolicy=RemoveCleanupPolicy()) Source: stdlib.ngs:5867
Creates temporary file using `mktemp` and arranges deletion of the file upon exit from the NGS script.
init(t:TmpFile, cleanup_policy:CleanupPolicy=RemoveCleanupPolicy()) Source: stdlib.ngs:5880
Undocumented
init(t:TmpDir, cleanup_policy:CleanupPolicy=RemoveCleanupPolicy()) Source: stdlib.ngs:5885
Undocumented