TemporaryVaultConstructorOptions.shouldRemoveDirectoryOnDispose?
TemporaryVaultConstructorOptions › shouldRemoveDirectoryOnDispose?
Type: boolean
Whether TemporaryVault.dispose removes the vault **directory**.When omitted, defaults to whether this instance created that directory —
true for a temp directory the constructor made (no path argument), false for a directory handed to it as an explicit path. A handle over somebody else's directory unregisters the vault but leaves the files alone, so wrapping a directory cannot destroy it. Set explicitly to override.