pub struct GitLabCodeownersProvider;Expand description
GitLab CODEOWNERS provider.
Writes a single aggregated CODEOWNERS file to the repository root.
Uses GitLab’s [Section] syntax for grouping rules.
Trait Implementations§
Source§impl Clone for GitLabCodeownersProvider
impl Clone for GitLabCodeownersProvider
Source§fn clone(&self) -> GitLabCodeownersProvider
fn clone(&self) -> GitLabCodeownersProvider
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CodeownersProvider for GitLabCodeownersProvider
impl CodeownersProvider for GitLabCodeownersProvider
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 GitLabCodeownersProvider
impl Debug for GitLabCodeownersProvider
Source§impl Default for GitLabCodeownersProvider
impl Default for GitLabCodeownersProvider
Source§fn default() -> GitLabCodeownersProvider
fn default() -> GitLabCodeownersProvider
Returns the “default value” for a type. Read more
impl Copy for GitLabCodeownersProvider
Auto Trait Implementations§
impl Freeze for GitLabCodeownersProvider
impl RefUnwindSafe for GitLabCodeownersProvider
impl Send for GitLabCodeownersProvider
impl Sync for GitLabCodeownersProvider
impl Unpin for GitLabCodeownersProvider
impl UnwindSafe for GitLabCodeownersProvider
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)