pub struct CodeownersConfig {
pub enabled: bool,
pub source_dirs: Vec<String>,
pub base_dirs: Vec<String>,
pub output_path: Option<String>,
pub auto_regenerate: bool,
}Expand description
CODEOWNERS generation configuration
Aggregates team ownership from noun-level OWNERS files into a single .github/CODEOWNERS file for GitHub PR approval enforcement.
Fields§
§enabled: boolEnable CODEOWNERS generation
source_dirs: Vec<String>Source directories to scan for OWNERS files
base_dirs: Vec<String>Base directories to generate entries for
output_path: Option<String>Output path (defaults to .github/CODEOWNERS)
auto_regenerate: boolAuto-regenerate on noun changes
Trait Implementations§
Source§impl Clone for CodeownersConfig
impl Clone for CodeownersConfig
Source§fn clone(&self) -> CodeownersConfig
fn clone(&self) -> CodeownersConfig
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 Debug for CodeownersConfig
impl Debug for CodeownersConfig
Source§impl Default for CodeownersConfig
impl Default for CodeownersConfig
Source§impl<'de> Deserialize<'de> for CodeownersConfig
impl<'de> Deserialize<'de> for CodeownersConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CodeownersConfig
impl PartialEq for CodeownersConfig
Source§impl Serialize for CodeownersConfig
impl Serialize for CodeownersConfig
impl StructuralPartialEq for CodeownersConfig
Auto Trait Implementations§
impl Freeze for CodeownersConfig
impl RefUnwindSafe for CodeownersConfig
impl Send for CodeownersConfig
impl Sync for CodeownersConfig
impl Unpin for CodeownersConfig
impl UnwindSafe for CodeownersConfig
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