liboxen 0.49.1

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
use crate::constants;
use serde::{Deserialize, Serialize};

#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct RemoteBranch {
    pub remote: String,
    pub branch: String,
}
impl Default for RemoteBranch {
    fn default() -> RemoteBranch {
        RemoteBranch {
            remote: String::from(constants::DEFAULT_REMOTE_NAME),
            branch: String::from(constants::DEFAULT_BRANCH_NAME),
        }
    }
}