pub struct BitbucketCodeOwnersProvider;Expand description
Bitbucket CODEOWNERS provider.
Writes a single aggregated CODEOWNERS file to the repository root.
Uses comment-style # Section syntax for grouping rules.
Trait Implementations§
Source§impl Clone for BitbucketCodeOwnersProvider
impl Clone for BitbucketCodeOwnersProvider
Source§fn clone(&self) -> BitbucketCodeOwnersProvider
fn clone(&self) -> BitbucketCodeOwnersProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CodeOwnersProvider for BitbucketCodeOwnersProvider
impl CodeOwnersProvider for BitbucketCodeOwnersProvider
Source§fn output_path(&self) -> &str
fn output_path(&self) -> &str
Get the output path for the CODEOWNERS file. Read more
Source§fn section_style(&self) -> SectionStyle
fn section_style(&self) -> SectionStyle
Get the section formatting style.
Source§fn sync(
&self,
repo_root: &Path,
projects: &[ProjectOwners],
dry_run: bool,
) -> Result<SyncResult>
fn sync( &self, repo_root: &Path, projects: &[ProjectOwners], dry_run: bool, ) -> Result<SyncResult>
Sync CODEOWNERS from project configurations. Read more
Source§fn check(
&self,
repo_root: &Path,
projects: &[ProjectOwners],
) -> Result<CheckResult>
fn check( &self, repo_root: &Path, projects: &[ProjectOwners], ) -> Result<CheckResult>
Check if CODEOWNERS is in sync with configuration. Read more
Source§impl Debug for BitbucketCodeOwnersProvider
impl Debug for BitbucketCodeOwnersProvider
Source§impl Default for BitbucketCodeOwnersProvider
impl Default for BitbucketCodeOwnersProvider
Source§fn default() -> BitbucketCodeOwnersProvider
fn default() -> BitbucketCodeOwnersProvider
Returns the “default value” for a type. Read more
impl Copy for BitbucketCodeOwnersProvider
Auto Trait Implementations§
impl Freeze for BitbucketCodeOwnersProvider
impl RefUnwindSafe for BitbucketCodeOwnersProvider
impl Send for BitbucketCodeOwnersProvider
impl Sync for BitbucketCodeOwnersProvider
impl Unpin for BitbucketCodeOwnersProvider
impl UnsafeUnpin for BitbucketCodeOwnersProvider
impl UnwindSafe for BitbucketCodeOwnersProvider
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