Struct git_scanner::git_file_history::GitFileHistory [−][src]
Implementations
impl GitFileHistory[src]
pub fn new(log: &mut GitLog) -> Result<GitFileHistory, Error>[src]
pub fn is_repo_for(&self, file: &Path) -> Result<bool, Error>[src]
true if this repo is valid for this file - file must exist (as we canonicalize it)
pub fn history_for(
&self,
file: &Path
) -> Result<Option<&Vec<FileHistoryEntry>>, Error>[src]
&self,
file: &Path
) -> Result<Option<&Vec<FileHistoryEntry>>, Error>
get git history for this file - file must exist (as we canonicalize it)
pub fn last_commit(&self) -> u64[src]
Trait Implementations
impl Debug for GitFileHistory[src]
impl Serialize for GitFileHistory[src]
Auto Trait Implementations
impl RefUnwindSafe for GitFileHistory
impl Send for GitFileHistory
impl Sync for GitFileHistory
impl Unpin for GitFileHistory
impl UnwindSafe for GitFileHistory
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Serialize for T where
T: Serialize + ?Sized, [src]
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,