Skip to content

Rose::FileSystem::createTemporaryDirectory

Create a temporary directory.

Synopsis

Declared in <src/Rose/FileSystem.h>

[[visibility]]
Path
createTemporaryDirectory();

Description

The temporary directory is created as a subdirectory of the directory which is suitable for temporary files under the conventions of the operating system. The specifics of how this path is determined are implementation defined (see std::filesystem::temp_directory_path). The created subdirectory has a name of the form "rose‐%%%%%%%%‐%%%%%%%%" where each "%" is a random hexadecimal digit. Returns the path to this directory.

Return Value

Name of entities in a filesystem.

Created with MrDocs