cm_util::io

Function path_buf_to_vfs_path

Source
pub fn path_buf_to_vfs_path(path: PathBuf) -> Option<Path>
Expand description

Fallible conversion from PathBuf to vfs::path::Path.

TODO(https://fxbug.dev/331429249): This should be removed by replacing PathBuf with other more Fuchsia-y paths.