Struct branchless::testing::GitInitOptions[][src]

pub struct GitInitOptions {
    pub make_initial_commit: bool,
    pub run_branchless_init: bool,
}
Expand description

Options for Git::init_repo_with_options.

Fields

make_initial_commit: bool

If true, then init_repo_with_options makes an initial commit with some content.

run_branchless_init: bool

If true, run git branchless init as part of initialization process.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.