pub struct EntireForge { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for EntireForge
impl Default for EntireForge
Source§impl Host for EntireForge
impl Host for EntireForge
Source§fn pushed_at(&mut self, pr: &PrThreads, sha: &str) -> Result<Pushed, Lookup>
fn pushed_at(&mut self, pr: &PrThreads, sha: &str) -> Result<Pushed, Lookup>
Entire keeps no push log the CLI gives, so a commit’s push time is its commit time in this clone, which can only be earlier.
fn forge(&self) -> Forge
Source§fn lacks(&mut self, feature: Feature) -> Option<String>
fn lacks(&mut self, feature: Feature) -> Option<String>
Why the forge cannot do
feature, or None when it can.Source§fn fetch(&mut self, lookups: Vec<Lookup>) -> Result<FetchResult, String>
fn fetch(&mut self, lookups: Vec<Lookup>) -> Result<FetchResult, String>
The PRs the lookups name, in the order named, as
pr status
reports them before attention codes are derived.Source§fn threads(
&mut self,
target: &Target,
_extra: bool,
bots: &[String],
) -> Result<Option<PrThreads>, String>
fn threads( &mut self, target: &Target, _extra: bool, bots: &[String], ) -> Result<Option<PrThreads>, String>
A PR’s review threads, and with
extra its reviews and conversation
comments. None when there is no such PR.Source§fn files(
&mut self,
_pr: &PrThreads,
oid: &str,
paths: &[String],
) -> Result<Vec<(String, String)>, String>
fn files( &mut self, _pr: &PrThreads, oid: &str, paths: &[String], ) -> Result<Vec<(String, String)>, String>
Files at commit
oid, as (path, text); a file that cannot be read
is left out.Source§fn merge_base(&mut self, pr: &PrThreads) -> Result<String, String>
fn merge_base(&mut self, pr: &PrThreads) -> Result<String, String>
The commit the PR’s diff is taken against.
Source§fn on_branch(&mut self, pr: &PrThreads, head: &str) -> Result<bool, String>
fn on_branch(&mut self, pr: &PrThreads, head: &str) -> Result<bool, String>
Whether
head is on the PR’s branch, for a head this clone cannot
place.Auto Trait Implementations§
impl !Freeze for EntireForge
impl RefUnwindSafe for EntireForge
impl Send for EntireForge
impl Sync for EntireForge
impl Unpin for EntireForge
impl UnsafeUnpin for EntireForge
impl UnwindSafe for EntireForge
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