liboxen 0.46.8

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
16
17
18
use std::path::PathBuf;

use serde::{Deserialize, Serialize};

use crate::model::merkle_tree::node::FileNode;

use super::diff_entry_status::DiffEntryStatus;

#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct DiffFileNode {
    pub status: DiffEntryStatus,
    // path for sorting so we don't have to dive into the optional commit entries
    pub path: PathBuf,

    // FileNode(s)
    pub head_entry: Option<FileNode>,
    pub base_entry: Option<FileNode>,
}