// Worktree provides a mock function with given fields:
Worktree provides a mock function with given fields.
// Worktree provides a mock function with given fields :
func (_m *Repository) Worktree() (*git.Worktree, error) {
	ret := _m.Called()
	var r0 *git.Worktree
	if rf, ok := ret.Get(0).(func() *git.Worktree); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*git.Worktree)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func() error); ok {
		r1 = rf()
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * Repository ) Worktree ( ) ( * git . Worktree , error ) { ret := _m . Called ( ) var r0 * git . Worktree if rf , ok := ret . Get ( 0 ) . ( func ( ) * git . Worktree ) ; ok { r0 = rf ( ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * git . Worktree ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( ) error ) ; ok { r1 = rf ( ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
Worktree provides a mock function with given fields.
Worktree provides a mock function with given fields .