##// END OF EJS Templates
localrepo: refactor logic to calculate sharedvfs in separate fn...
localrepo: refactor logic to calculate sharedvfs in separate fn We will be reusing this in an upcoming patch, so better to refactor it into a separate function. Also the underlying handling deserves a function of it's own. Differential Revision: https://phab.mercurial-scm.org/D8909

File last commit:

r45570:afecc7f7 default
r45912:665e9115 default
Show More
commands.rs
9 lines | 218 B | application/rls-services+xml | RustLexer
pub mod root;
use crate::error::CommandError;
/// The common trait for rhg commands
///
/// Normalize the interface of the commands provided by rhg
pub trait Command {
fn run(&self) -> Result<(), CommandError>;
}