Struct git_scanner::git_file_future::GitFileFutureRegistry[][src]

pub struct GitFileFutureRegistry { /* fields omitted */ }

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]

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]

impl Debug for GitFileFutureRegistry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.