std.env.temporary_directory
Show source codeHide source code
fn pub temporary_directory -> Path {
Path.new(String.from_primitive(inko_env_temp_directory))
}
fn pub static temporary_directory -> Path
Returns the path to the temporary directory.
Examples
Obtaining the temporary directory:
import std.env
env.temporary_directory # => '/tmp'