Struct git_scanner::git_file_future::GitFileFutureRegistry [−][src]
Track file changes for a file - renames and deletes
Implementations
impl GitFileFutureRegistry
[src]
pub fn new() -> Self
[src]
pub fn register(
&mut self,
id: &Oid,
parent_ids: &[Oid],
file_changes: &[(PathBuf, FileNameChange)]
)
[src]
&mut self,
id: &Oid,
parent_ids: &[Oid],
file_changes: &[(PathBuf, FileNameChange)]
)
pub fn final_name(&self, ref_id: &Oid, file: &Path) -> Option<PathBuf>
[src]
what is this called in the final revision? returns None if it is deleted, or Some(final name)
Trait Implementations
impl Clone for GitFileFutureRegistry
[src]
fn clone(&self) -> GitFileFutureRegistry
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GitFileFutureRegistry
[src]
Auto Trait Implementations
impl RefUnwindSafe for GitFileFutureRegistry
impl Send for GitFileFutureRegistry
impl Sync for GitFileFutureRegistry
impl Unpin for GitFileFutureRegistry
impl UnwindSafe for GitFileFutureRegistry
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,