pub fn write_project_file(path: &Path, content: String) -> Result<()>
Write an SVG only when its parent directory is inside the current project directory.