liboxen 0.48.3

Oxen is a fast, unstructured data version control, to help version large machine learning datasets written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::util;
use crate::{constants::MERGE_DIR, model::LocalRepository};

pub mod entry_merge_conflict_db_reader;
pub mod entry_merge_conflict_reader;
pub mod entry_merge_conflict_writer;
pub mod node_merge_conflict_db_reader;
pub mod node_merge_conflict_reader;
pub mod node_merge_conflict_writer;

use std::path::{Path, PathBuf};

pub fn db_path(repo: &LocalRepository) -> PathBuf {
    util::fs::oxen_hidden_dir(&repo.path).join(Path::new(MERGE_DIR))
}