episko_cli 0.0.1-dev

description for the episko project
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! # Removal of a manifest
//!
//! This module contains the code for the removal of a manifest and is directly used by the the remove command.

use camino::Utf8PathBuf;
use color_eyre::Result;
use episko_lib::{files::File, metadata::Metadata};

pub fn remove_manifest(file: &Utf8PathBuf) -> Result<()> {
    Ok(Metadata::remove_file(file.as_std_path())?)
}