pub async fn save_artifact<P: AsRef<Path>>(
fidl_artifact: Artifact,
out_dir: P,
) -> Result<Option<Artifact>>
Expand description
Reads fuzzer input data from a FidlArtifact
and saves it locally.
Returns:
Returns an Artifact
on success. Returns an error if the artifact indicates an error, if
it fails to read the data from the input
, or if it fails to write the data to the file.
See also utils::digest_path
.