pub fn new() -> WorktreeAddOptions<'a> {
        unsafe {
            let mut raw = mem::zeroed();
            assert_eq!(
                raw::git_worktree_add_options_init(&mut raw, raw::GIT_WORKTREE_ADD_OPTIONS_VERSION),
                0
            );
            WorktreeAddOptions {
                raw,
                _marker: marker::PhantomData,
            }
        }
    }
/// Creates a default set of add options.
///
/// By default this will not lock the worktree
Creates a default set of add options.
By default this will not lock the worktree
Creates a default set of add options . By default this will not lock the worktree
pub fn new() -> WorktreeAddOptions<'a> {
        unsafe {
            let mut raw = mem::zeroed();
            assert_eq!(
                raw::git_worktree_add_options_init(&mut raw, raw::GIT_WORKTREE_ADD_OPTIONS_VERSION),
                0
            );
            WorktreeAddOptions {
                raw,
                _marker: marker::PhantomData,
            }
        }
    }
pub fn new ( ) -> WorktreeAddOptions < ' a > { unsafe { let mut raw = mem :: zeroed ( ) ; assert_eq ! ( raw git_worktree_add_options_init ( mut raw raw GIT_WORKTREE_ADD_OPTIONS_VERSION ) 0 ) ; WorktreeAddOptions { raw , _marker : marker :: PhantomData , } } }
Creates a default set of add options.
Creates a default set of add options .