mysten_common::random_util

Function tempdir

Source
pub fn tempdir() -> Result<TempDir>
Expand description

Creates a temporary directory with random name. Ensure the name is randomized even in simtests.