pub struct SiloData {
pub files: Vec<FileSilo>,
}Fields§
§files: Vec<FileSilo>Implementations§
Source§impl SiloData
impl SiloData
pub fn new(repo: &KitRepo) -> Self
pub fn get_churn(repo: &KitRepo) -> Result<Self>
pub fn get_head_files(repo: &KitRepo) -> Result<HashSet<String>>
pub fn accumulate_churn( repo: &KitRepo, ) -> Result<HashMap<String, HashMap<String, usize>>>
pub fn process_silos( churn_map: HashMap<String, HashMap<String, usize>>, head_files: &HashSet<String>, ) -> Vec<FileSilo>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SiloData
impl RefUnwindSafe for SiloData
impl Send for SiloData
impl Sync for SiloData
impl Unpin for SiloData
impl UnsafeUnpin for SiloData
impl UnwindSafe for SiloData
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more