liboxen 0.46.10

Oxen is a fast, unstructured data version control, to help version large machine learning datasets written in Rust.
Documentation
use std::path::PathBuf;

#[derive(Clone, Debug)]
pub struct DownloadTreeOpts {
    pub subtree_paths: PathBuf,
    pub depth: i32,
    pub is_download: bool,
}

impl Default for DownloadTreeOpts {
    fn default() -> Self {
        Self::new()
    }
}

impl DownloadTreeOpts {
    pub fn new() -> DownloadTreeOpts {
        DownloadTreeOpts {
            subtree_paths: PathBuf::new(),
            depth: 0,
            is_download: true,
        }
    }
}