// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
usestd::{fs,path::Path};pubmodlicenses;pubmodmetadata;pubmodserialize;pubfncreate_output_dir(path:&Path)->anyhow::Result<()>{if path.try_exists()?{fs::remove_dir_all(path)?;}fs::create_dir(path)?;Ok(())}