pub struct RepoStats {
pub name: String,
pub path: PathBuf,
pub primary_language: String,
pub files: Vec<FileStats>,
pub summary: RepoSummary,
pub by_language: IndexMap<String, LanguageSummary>,
pub git_info: Option<GitInfo>,
}Expand description
Repository statistics.
Fields§
§name: StringRepository name.
path: PathBufRepository path.
primary_language: StringPrimary language (by code lines).
files: Vec<FileStats>All file statistics.
summary: RepoSummarySummary statistics.
by_language: IndexMap<String, LanguageSummary>Statistics by language.
git_info: Option<GitInfo>Git information (if available).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepoStats
impl RefUnwindSafe for RepoStats
impl Send for RepoStats
impl Sync for RepoStats
impl Unpin for RepoStats
impl UnwindSafe for RepoStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more