Struct git2::SubmoduleUpdateOptions
[−]
[src]
pub struct SubmoduleUpdateOptions<'cb> { /* fields omitted */ }
Options to update a submodule.
Methods
impl<'cb> SubmoduleUpdateOptions<'cb>
[src]
fn new() -> Self
[src]
Return default options.
fn checkout(&mut self, opts: CheckoutBuilder<'cb>) -> &mut Self
[src]
Set checkout options.
fn fetch(&mut self, opts: FetchOptions<'cb>) -> &mut Self
[src]
Set fetch options and allow fetching.
fn allow_fetch(&mut self, b: bool) -> &mut Self
[src]
Allow or disallow fetching.