Merge

Type Alias Merge 

Source
pub type Merge = Any<FullNameRef>;
Expand description

The branch.<name>.merge key.

Aliased Type§

pub struct Merge {
    pub name: &'static str,
    pub section: &'static dyn Section,
    pub subsection_requirement: Option<SubSectionRequirement>,
    pub link: Option<Link>,
    pub note: Option<Note>,
    /* private fields */
}

Fields§

§name: &'static str

The key of the value in the git configuration.

§section: &'static dyn Section

The parent section of the key.

§subsection_requirement: Option<SubSectionRequirement>

The subsection requirement to use.

§link: Option<Link>

A link to other resources that might be eligible as value.

§note: Option<Note>

A note about this key.

Implementations§

Source§

impl Merge

Source

pub fn try_into_fullrefname( value: Cow<'_, BStr>, ) -> Result<Cow<'_, FullNameRef>, Error>

Return the validated full ref name from value if it is valid.