Inspector
public class Inspector
Undocumented
-
Undocumented
Declaration
Swift
public static var currentWorkingDirectory: Folder! { get }
-
Creates an unique temporary file
See
man mkstemp
for detailsThrows
InspectorError.invalidTempFileTemplate
- if path template is invalidInspectorError.failedToCreateFile
- if low-level file creation failed
Declaration
Swift
public static func createTemporaryFile() throws -> File
Return Value
File
, with path to newly created file -
Creates an unique temporary folder
See
man mkdtemp
for detailsThrows
InspectorError.invalidTempFileTemplate
- if path template is invalidInspectorError.failedToCreateFile
- if low-level folder creation failed
Declaration
Swift
public static func createTemporaryFolder() throws -> Folder
Return Value
File
, with path to newly created folder