Struct silver_platter::ControlDir
source · pub struct ControlDir(_);Implementations§
source§impl ControlDir
impl ControlDir
pub fn new(obj: Py<PyAny>) -> Result<ControlDir, PyErr>
pub fn create_branch_convenience(base: &Url) -> Result<Branch, PyErr>
pub fn open_containing_from_transport( transport: &Transport, probers: Option<&[Prober]> ) -> Result<(ControlDir, String), PyErr>
pub fn open_from_transport( transport: &Transport, probers: Option<&[Prober]> ) -> Result<ControlDir, PyErr>
pub fn create_branch(&self, name: Option<&str>) -> Result<Branch, PyErr>
pub fn open_branch( &self, branch_name: Option<&str> ) -> Result<Branch, BranchOpenError>
pub fn push_branch( &self, source_branch: &Branch, to_branch_name: Option<&str>, overwrite: Option<bool>, tag_selector: Option<Box<dyn Fn(String) -> bool, Global>> ) -> Result<Branch, PyErr>
pub fn sprout( &self, target: Url, source_branch: Option<&Branch>, create_tree_if_local: Option<bool>, stacked: Option<bool> ) -> ControlDir
pub fn open_workingtree(&self) -> Result<WorkingTree, PyErr>
Auto Trait Implementations§
impl !RefUnwindSafe for ControlDir
impl Send for ControlDir
impl Sync for ControlDir
impl Unpin for ControlDir
impl UnwindSafe for ControlDir
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more