liboxen 0.53.0

Oxen is a fast data version control system, built with machine learning training data in mind. Designed to handle terabytes of data with ease, using a workflow similar to git. Version both structured and unstructured data of any modality: text, images, video, audio, CSV, Parquet, JSONL, model checkpoints, and more. liboxen is the embeddable core library behind the oxen CLI and server, which power fine tuning and inference pipelines for multimodal LLMs, image models, and video models on Oxen.ai.
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))
}