mod repository;
pub use repository::ModuleRepository;
use std::path::PathBuf;
#[derive(Debug, Clone)]
pub struct Module {
pub id: String,
pub name: String,
pub description: Option<String>,
pub path: PathBuf,
pub sub_modules: Vec<SubModule>,
}
#[derive(Debug, Clone)]
pub struct ModuleSummary {
pub id: String,
pub name: String,
pub change_count: u32,
pub sub_modules: Vec<SubModuleSummary>,
}
#[derive(Debug, Clone)]
pub struct SubModule {
pub id: String,
pub parent_module_id: String,
pub sub_id: String,
pub name: String,
pub description: Option<String>,
pub change_count: u32,
pub path: PathBuf,
}
#[derive(Debug, Clone)]
pub struct SubModuleSummary {
pub id: String,
pub name: String,
pub change_count: u32,
}
#[cfg(test)]
mod modules_tests;