liboxen 0.7.2

Oxen is a fast, unstructured data version control, to help version large machine learning datasets written in Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! # oxen rm
//!
//! Remove files from the index and working directory
//!

use crate::core::index;
use crate::error::OxenError;
use crate::model::LocalRepository;
use crate::opts::RmOpts;

/// Removes the path from the index
pub async fn rm(repo: &LocalRepository, opts: &RmOpts) -> Result<(), OxenError> {
    index::rm(repo, opts).await
}