fn remove_non_manifest_yaml_from_artifact( root: &Path, depth: usize, ) -> Result<(), i32>
Removes non manifest YAML from artifact.