tempDir

Get path to default temporary directory.

@safe
tempDir
()

Examples

version (Posix) {
	assert(tempDir().str == "/tmp/");
}

See Also

std.file.tempDir See: https://forum.dlang.org/post/gg9kds$1at0$1@digitalmars.com

Meta