[−][src]Trait radicle_surf::vcs::VCS
The VCS
trait encapsulates the minimal amount of information for
interacting with some notion of History
from a given
Version-Control-System.
Associated Types
Loading content...Required methods
fn get_history(&self, identifier: Self::HistoryId) -> Result<History<A>, Error>
Find a History in a Repo given a way to identify it
fn get_histories(&self) -> Result<Vec<History<A>>, Error>
Find all histories in a Repo
fn get_identifier(artefact: &A) -> Self::ArtefactId
Identify artefacts of a Repository
Implementors
impl<'a> VCS<Commit, Error> for RepositoryRef<'a>
[src]
type HistoryId = Rev
type ArtefactId = Oid
fn get_history(&self, history_id: Self::HistoryId) -> Result<History, Error>
[src]
fn get_histories(&self) -> Result<Vec<History>, Error>
[src]
fn get_identifier(artifact: &Commit) -> Self::ArtefactId
[src]
impl<Repo, A, Error> VCS<A, Error> for Browser<Repo, A, Error> where
Repo: VCS<A, Error>,
[src]
Repo: VCS<A, Error>,