fuchsia_fs::directory

Function 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 “/”.