createTempDir function

String createTempDir()

Creates a temporary directory under the system temp folder.

The temporary directory name is formed from a uuid. It is your responsiblity to delete the directory once you have finsihed with it. @Throwing(ArgumentError) @Throwing(CreateDirException)

Implementation

String createTempDir() => _CreateDir().createDir(
      join(Directory.systemTemp.path, '.dclitmp', const Uuid().v4()),
      recursive: true,
    );