Struct silver_platter::Forge
source · pub struct Forge(_);Implementations§
source§impl Forge
impl Forge
pub fn new(obj: Py<PyAny>) -> Forge
pub fn merge_proposal_description_format(&self) -> String
pub fn supports_merge_proposal_commit_message(&self) -> bool
pub fn supports_merge_proposal_title(&self) -> bool
pub fn get_proposer( &self, from_branch: &Branch, to_branch: &Branch ) -> Result<ProposalBuilder, PyErr>
pub fn get_derived_branch( &self, main_branch: &Branch, name: &str, owner: Option<&str>, preferred_schemes: Option<&[&str]> ) -> Result<Branch, PyErr>
pub fn iter_proposals( &self, source_branch: &Branch, target_branch: &Branch, status: MergeProposalStatus ) -> Result<impl Iterator<Item = MergeProposal>, PyErr>
pub fn publish_derived( &self, local_branch: &Branch, main_branch: &Branch, name: &str, overwrite_existing: Option<bool>, owner: Option<&str>, stop_revision: Option<&RevisionId>, tag_selector: Option<Box<dyn Fn(String) -> bool, Global>> ) -> Result<(Branch, Url), PyErr>
pub fn get_push_url(&self, branch: &Branch) -> Url
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Forge
impl Send for Forge
impl Sync for Forge
impl Unpin for Forge
impl UnwindSafe for Forge
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