Function fuchsia_fs::directory::create_randomly_named_file

source ·
pub async fn create_randomly_named_file(
    dir: &DirectoryProxy,
    prefix: &str,
    flags: Flags,
) -> Result<(String, FileProxy), OpenError>
Expand description

Create a randomly named file in the given directory with the given prefix, and return its path and FileProxy. prefix may contain “/”.