pub struct RepoMap {Show 13 fields
pub files: usize,
pub symbols: usize,
pub commits: usize,
pub authors: usize,
pub last_sync: Option<SyncInfo>,
pub communities: Vec<MapCommunity>,
pub key_files: Vec<(String, f64)>,
pub owners: Vec<(String, usize)>,
pub hot_files: Vec<(String, usize)>,
pub hot_days: i64,
pub stale_concepts: usize,
pub questions: Vec<String>,
pub truncated: bool,
}Expand description
The repository, summarised.
Fields§
§files: usize§symbols: usize§commits: usize§last_sync: Option<SyncInfo>Absent when the store carries no GitSync marker.
communities: Vec<MapCommunity>§key_files: Vec<(String, f64)>(file key, PageRank score), highest first.
owners: Vec<(String, usize)>(author name, files owned), most first.
hot_files: Vec<(String, usize)>(file key, commits inside the window), most first.
hot_days: i64Width of the hot window in days, so a reader knows what “hot” meant.
stale_concepts: usizeConcepts whose sources changed since they were learned.
questions: Vec<String>Three questions this graph can answer well, phrased for asking.
truncated: boolThe budget fired: some sections are missing or partial.
Trait Implementations§
impl StructuralPartialEq for RepoMap
Auto Trait Implementations§
impl Freeze for RepoMap
impl RefUnwindSafe for RepoMap
impl Send for RepoMap
impl Sync for RepoMap
impl Unpin for RepoMap
impl UnsafeUnpin for RepoMap
impl UnwindSafe for RepoMap
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.