fn build_blobfs_args(
    blob_layout: String,
    blob_manifest_path: impl AsRef<Path>,
    blobs_json_path: impl AsRef<Path>,
    output_path: impl AsRef<Path>,
) -> Result<Vec<String>> {
    Ok(vec![
        "--json-output".to_string(),
        blobs_json_path.as_ref().path_to_string()?,
        "--compress".to_string(),
        output_path.as_ref().path_to_string()?,
        "create".to_string(),
        "--manifest".to_string(),
        blob_manifest_path.as_ref().path_to_string()?,
        "--blob_layout_format".to_string(),
        blob_layout,
    ])
}
/// Build the list of arguments to pass to the blobfs tool.
Build the list of arguments to pass to the blobfs tool.
Build the list of arguments to pass to the blobfs tool .
fn build_blobfs_args(
    blob_layout: String,
    blob_manifest_path: impl AsRef<Path>,
    blobs_json_path: impl AsRef<Path>,
    output_path: impl AsRef<Path>,
) -> Result<Vec<String>> {
    Ok(vec![
        "--json-output".to_string(),
        blobs_json_path.as_ref().path_to_string()?,
        "--compress".to_string(),
        output_path.as_ref().path_to_string()?,
        "create".to_string(),
        "--manifest".to_string(),
        blob_manifest_path.as_ref().path_to_string()?,
        "--blob_layout_format".to_string(),
        blob_layout,
    ])
}
fn build_blobfs_args ( blob_layout : String , blob_manifest_path : impl AsRef < Path > , blobs_json_path : impl AsRef < Path > , output_path : impl AsRef < Path > , ) -> Result < Vec < String > > { Ok ( vec ! [ " " to_string ( ) blobs_json_path as_ref ( ) path_to_string ( ) " " to_string ( ) output_path as_ref ( ) path_to_string ( ) " " to_string ( ) " " to_string ( ) blob_manifest_path as_ref ( ) path_to_string ( ) " " to_string ( ) blob_layout ] ) }
Build the list of arguments to pass to the blobfs tool.
Build the list of arguments to pass to the blobfs tool .
blob_layout
String
blob_manifest_path
impl AsRef<Path>
blobs_json_path
impl AsRef<Path>
output_path
impl AsRef<Path>
blob_layout
String
blob_manifest_path
impl AsRef<Path>
blobs_json_path
impl AsRef<Path>
output_path
impl AsRef<Path>