[−][src]Trait radicle_surf::vcs::VCS
Associated Types
Loading content...Required methods
fn get_history(
&'repo self,
identifier: Self::HistoryId
) -> Result<History<A>, Error>
&'repo self,
identifier: Self::HistoryId
) -> Result<History<A>, Error>
Find a History in a Repo given a way to identify it
fn get_histories(&'repo self) -> Result<Vec<History<A>>, Error>
Find all histories in a Repo
fn get_identifier(artifact: &'repo A) -> Self::ArtefactId
Identify artifacts of a Repository
Implementors
impl<'browser, Repo, A, Error> VCS<'browser, A, Error> for Browser<'browser, Repo, A, Error> where
A: 'browser,
Error: 'browser,
Repo: VCS<'browser, A, Error>,
[src]
A: 'browser,
Error: 'browser,
Repo: VCS<'browser, A, Error>,
type HistoryId = Repo::HistoryId
type ArtefactId = Repo::ArtefactId
fn get_history(
&'browser self,
identifier: Self::HistoryId
) -> Result<History<A>, Error>
[src]
&'browser self,
identifier: Self::HistoryId
) -> Result<History<A>, Error>
fn get_histories(&'browser self) -> Result<Vec<History<A>>, Error>
[src]
fn get_identifier(artifact: &'browser A) -> Self::ArtefactId
[src]
impl<'repo> VCS<'repo, Commit<'repo>, GitError> for GitRepository
[src]
type HistoryId = GitObject
type ArtefactId = Oid
fn get_history(
&'repo self,
history_id: Self::HistoryId
) -> Result<GitHistory, GitError>
[src]
&'repo self,
history_id: Self::HistoryId
) -> Result<GitHistory, GitError>