pub struct LfsHealthReport {
pub lfs_initialized: bool,
pub filter_status: Option<LfsFilterStatus>,
pub status_summary: Option<LfsStatusSummary>,
pub pointer_issues: Vec<LfsPointerIssue>,
}Expand description
Comprehensive LFS health check result.
Fields§
§lfs_initialized: boolWhether LFS is initialized in the repository.
filter_status: Option<LfsFilterStatus>Status of LFS filters.
status_summary: Option<LfsStatusSummary>Summary from git lfs status.
pointer_issues: Vec<LfsPointerIssue>Pointer validation issues.
Implementations§
Source§impl LfsHealthReport
impl LfsHealthReport
Sourcepub fn is_healthy(&self) -> bool
pub fn is_healthy(&self) -> bool
Returns true if LFS is fully healthy.
When lfs_initialized is true, missing required sub-results
(filter_status or status_summary) are treated as unhealthy
since they indicate the health check could not complete.
Sourcepub fn all_issues(&self) -> Vec<String>
pub fn all_issues(&self) -> Vec<String>
Returns a list of all issues found.
Trait Implementations§
Source§impl Clone for LfsHealthReport
impl Clone for LfsHealthReport
Source§fn clone(&self) -> LfsHealthReport
fn clone(&self) -> LfsHealthReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LfsHealthReport
impl Debug for LfsHealthReport
Source§impl Default for LfsHealthReport
impl Default for LfsHealthReport
Source§fn default() -> LfsHealthReport
fn default() -> LfsHealthReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for LfsHealthReport
impl PartialEq for LfsHealthReport
impl Eq for LfsHealthReport
impl StructuralPartialEq for LfsHealthReport
Auto Trait Implementations§
impl Freeze for LfsHealthReport
impl RefUnwindSafe for LfsHealthReport
impl Send for LfsHealthReport
impl Sync for LfsHealthReport
impl Unpin for LfsHealthReport
impl UnsafeUnpin for LfsHealthReport
impl UnwindSafe for LfsHealthReport
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.