Trait PartialSymbolResolver

Source
pub trait PartialSymbolResolver {
    // Required method
    fn resolve_symbol(
        &self,
        repo: &dyn Repo,
        symbol: &str,
    ) -> Result<Option<Vec<CommitId>>, RevsetResolutionError>;
}
Expand description

A symbol resolver for a specific namespace of labels.

Returns None if it cannot handle the symbol.

Required Methods§

Source

fn resolve_symbol( &self, repo: &dyn Repo, symbol: &str, ) -> Result<Option<Vec<CommitId>>, RevsetResolutionError>

Implementors§