std.env.temporary_directory
Show source codeHide source code
fn pub temporary_directory -> Path {
Path.new(inko_env_temp_directory(_INKO.state))
}
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'