in license-tool/src/main.rs [185:200]
fn get_license_destinations(
package_license: &PackageLicense,
dest: Option<PathBuf>,
) -> Vec<String> {
let mut all_paths = Vec::new();
let dest = match dest {
None => Path::new("").into(),
Some(dest) => dest,
};
for license in &package_license.licenses {
all_paths.push(dest.join(&license.path).display().to_string());
}
all_paths
}