v0.28.0 fca9155

MergeRequestStore.go RawHistoryFolder

1// Code generated by mockery; DO NOT EDIT.
2// github.com/vektra/mockery
3// template: testify
4
5package mocks
6
7import (
8	"context"
9
10	"bnema.dev/ermite/internal/domain"
11	mock "github.com/stretchr/testify/mock"
12)
13
14// NewMergeRequestStore creates a new instance of MergeRequestStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
15// The first argument is typically a *testing.T value.
16func NewMergeRequestStore(t interface {
17	mock.TestingT
18	Cleanup(func())
19}) *MergeRequestStore {
20	if helper, ok := t.(interface{ Helper() }); ok {
21		helper.Helper()
22	}
23
24	mock := &MergeRequestStore{}
25	mock.Mock.Test(t)
26
27	t.Cleanup(func() {
28		if helper, ok := t.(interface{ Helper() }); ok {
29			helper.Helper()
30		}
31		mock.AssertExpectations(t)
32	})
33
34	return mock
35}
36
37// MergeRequestStore is an autogenerated mock type for the MergeRequestStore type
38type MergeRequestStore struct {
39	mock.Mock
40}
41
42type MergeRequestStore_Expecter struct {
43	mock *mock.Mock
44}
45
46func (_m *MergeRequestStore) EXPECT() *MergeRequestStore_Expecter {
47	return &MergeRequestStore_Expecter{mock: &_m.Mock}
48}
49
50// CountOpen provides a mock function for the type MergeRequestStore
51func (_mock *MergeRequestStore) CountOpen(ctx context.Context, repo domain.RepoName) (int, error) {
52	ret := _mock.Called(ctx, repo)
53
54	if len(ret) == 0 {
55		panic("no return value specified for CountOpen")
56	}
57
58	var r0 int
59	var r1 error
60	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName) (int, error)); ok {
61		return returnFunc(ctx, repo)
62	}
63	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName) int); ok {
64		r0 = returnFunc(ctx, repo)
65	} else {
66		r0 = ret.Get(0).(int)
67	}
68	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName) error); ok {
69		r1 = returnFunc(ctx, repo)
70	} else {
71		r1 = ret.Error(1)
72	}
73	return r0, r1
74}
75
76// MergeRequestStore_CountOpen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountOpen'
77type MergeRequestStore_CountOpen_Call struct {
78	*mock.Call
79}
80
81// CountOpen is a helper method to define mock.On call
82//   - ctx context.Context
83//   - repo domain.RepoName
84func (_e *MergeRequestStore_Expecter) CountOpen(ctx any, repo any) *MergeRequestStore_CountOpen_Call {
85	return &MergeRequestStore_CountOpen_Call{Call: _e.mock.On("CountOpen", ctx, repo)}
86}
87
88func (_c *MergeRequestStore_CountOpen_Call) Run(run func(ctx context.Context, repo domain.RepoName)) *MergeRequestStore_CountOpen_Call {
89	_c.Call.Run(func(args mock.Arguments) {
90		var arg0 context.Context
91		if args[0] != nil {
92			arg0 = args[0].(context.Context)
93		}
94		var arg1 domain.RepoName
95		if args[1] != nil {
96			arg1 = args[1].(domain.RepoName)
97		}
98		run(
99			arg0,
100			arg1,
101		)
102	})
103	return _c
104}
105
106func (_c *MergeRequestStore_CountOpen_Call) Return(n int, err error) *MergeRequestStore_CountOpen_Call {
107	_c.Call.Return(n, err)
108	return _c
109}
110
111func (_c *MergeRequestStore_CountOpen_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName) (int, error)) *MergeRequestStore_CountOpen_Call {
112	_c.Call.Return(run)
113	return _c
114}
115
116// Create provides a mock function for the type MergeRequestStore
117func (_mock *MergeRequestStore) Create(ctx context.Context, mr domain.MergeRequest) (domain.MergeRequest, error) {
118	ret := _mock.Called(ctx, mr)
119
120	if len(ret) == 0 {
121		panic("no return value specified for Create")
122	}
123
124	var r0 domain.MergeRequest
125	var r1 error
126	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.MergeRequest) (domain.MergeRequest, error)); ok {
127		return returnFunc(ctx, mr)
128	}
129	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.MergeRequest) domain.MergeRequest); ok {
130		r0 = returnFunc(ctx, mr)
131	} else {
132		r0 = ret.Get(0).(domain.MergeRequest)
133	}
134	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.MergeRequest) error); ok {
135		r1 = returnFunc(ctx, mr)
136	} else {
137		r1 = ret.Error(1)
138	}
139	return r0, r1
140}
141
142// MergeRequestStore_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
143type MergeRequestStore_Create_Call struct {
144	*mock.Call
145}
146
147// Create is a helper method to define mock.On call
148//   - ctx context.Context
149//   - mr domain.MergeRequest
150func (_e *MergeRequestStore_Expecter) Create(ctx any, mr any) *MergeRequestStore_Create_Call {
151	return &MergeRequestStore_Create_Call{Call: _e.mock.On("Create", ctx, mr)}
152}
153
154func (_c *MergeRequestStore_Create_Call) Run(run func(ctx context.Context, mr domain.MergeRequest)) *MergeRequestStore_Create_Call {
155	_c.Call.Run(func(args mock.Arguments) {
156		var arg0 context.Context
157		if args[0] != nil {
158			arg0 = args[0].(context.Context)
159		}
160		var arg1 domain.MergeRequest
161		if args[1] != nil {
162			arg1 = args[1].(domain.MergeRequest)
163		}
164		run(
165			arg0,
166			arg1,
167		)
168	})
169	return _c
170}
171
172func (_c *MergeRequestStore_Create_Call) Return(mergeRequest domain.MergeRequest, err error) *MergeRequestStore_Create_Call {
173	_c.Call.Return(mergeRequest, err)
174	return _c
175}
176
177func (_c *MergeRequestStore_Create_Call) RunAndReturn(run func(ctx context.Context, mr domain.MergeRequest) (domain.MergeRequest, error)) *MergeRequestStore_Create_Call {
178	_c.Call.Return(run)
179	return _c
180}
181
182// DeleteMergeability provides a mock function for the type MergeRequestStore
183func (_mock *MergeRequestStore) DeleteMergeability(ctx context.Context, repo domain.RepoName, number int64) error {
184	ret := _mock.Called(ctx, repo, number)
185
186	if len(ret) == 0 {
187		panic("no return value specified for DeleteMergeability")
188	}
189
190	var r0 error
191	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64) error); ok {
192		r0 = returnFunc(ctx, repo, number)
193	} else {
194		r0 = ret.Error(0)
195	}
196	return r0
197}
198
199// MergeRequestStore_DeleteMergeability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMergeability'
200type MergeRequestStore_DeleteMergeability_Call struct {
201	*mock.Call
202}
203
204// DeleteMergeability is a helper method to define mock.On call
205//   - ctx context.Context
206//   - repo domain.RepoName
207//   - number int64
208func (_e *MergeRequestStore_Expecter) DeleteMergeability(ctx any, repo any, number any) *MergeRequestStore_DeleteMergeability_Call {
209	return &MergeRequestStore_DeleteMergeability_Call{Call: _e.mock.On("DeleteMergeability", ctx, repo, number)}
210}
211
212func (_c *MergeRequestStore_DeleteMergeability_Call) Run(run func(ctx context.Context, repo domain.RepoName, number int64)) *MergeRequestStore_DeleteMergeability_Call {
213	_c.Call.Run(func(args mock.Arguments) {
214		var arg0 context.Context
215		if args[0] != nil {
216			arg0 = args[0].(context.Context)
217		}
218		var arg1 domain.RepoName
219		if args[1] != nil {
220			arg1 = args[1].(domain.RepoName)
221		}
222		var arg2 int64
223		if args[2] != nil {
224			arg2 = args[2].(int64)
225		}
226		run(
227			arg0,
228			arg1,
229			arg2,
230		)
231	})
232	return _c
233}
234
235func (_c *MergeRequestStore_DeleteMergeability_Call) Return(err error) *MergeRequestStore_DeleteMergeability_Call {
236	_c.Call.Return(err)
237	return _c
238}
239
240func (_c *MergeRequestStore_DeleteMergeability_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName, number int64) error) *MergeRequestStore_DeleteMergeability_Call {
241	_c.Call.Return(run)
242	return _c
243}
244
245// Get provides a mock function for the type MergeRequestStore
246func (_mock *MergeRequestStore) Get(ctx context.Context, repo domain.RepoName, number int64) (domain.MergeRequest, error) {
247	ret := _mock.Called(ctx, repo, number)
248
249	if len(ret) == 0 {
250		panic("no return value specified for Get")
251	}
252
253	var r0 domain.MergeRequest
254	var r1 error
255	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64) (domain.MergeRequest, error)); ok {
256		return returnFunc(ctx, repo, number)
257	}
258	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64) domain.MergeRequest); ok {
259		r0 = returnFunc(ctx, repo, number)
260	} else {
261		r0 = ret.Get(0).(domain.MergeRequest)
262	}
263	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName, int64) error); ok {
264		r1 = returnFunc(ctx, repo, number)
265	} else {
266		r1 = ret.Error(1)
267	}
268	return r0, r1
269}
270
271// MergeRequestStore_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
272type MergeRequestStore_Get_Call struct {
273	*mock.Call
274}
275
276// Get is a helper method to define mock.On call
277//   - ctx context.Context
278//   - repo domain.RepoName
279//   - number int64
280func (_e *MergeRequestStore_Expecter) Get(ctx any, repo any, number any) *MergeRequestStore_Get_Call {
281	return &MergeRequestStore_Get_Call{Call: _e.mock.On("Get", ctx, repo, number)}
282}
283
284func (_c *MergeRequestStore_Get_Call) Run(run func(ctx context.Context, repo domain.RepoName, number int64)) *MergeRequestStore_Get_Call {
285	_c.Call.Run(func(args mock.Arguments) {
286		var arg0 context.Context
287		if args[0] != nil {
288			arg0 = args[0].(context.Context)
289		}
290		var arg1 domain.RepoName
291		if args[1] != nil {
292			arg1 = args[1].(domain.RepoName)
293		}
294		var arg2 int64
295		if args[2] != nil {
296			arg2 = args[2].(int64)
297		}
298		run(
299			arg0,
300			arg1,
301			arg2,
302		)
303	})
304	return _c
305}
306
307func (_c *MergeRequestStore_Get_Call) Return(mergeRequest domain.MergeRequest, err error) *MergeRequestStore_Get_Call {
308	_c.Call.Return(mergeRequest, err)
309	return _c
310}
311
312func (_c *MergeRequestStore_Get_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName, number int64) (domain.MergeRequest, error)) *MergeRequestStore_Get_Call {
313	_c.Call.Return(run)
314	return _c
315}
316
317// GetComment provides a mock function for the type MergeRequestStore
318func (_mock *MergeRequestStore) GetComment(ctx context.Context, repo domain.RepoName, number int64, id int64) (domain.Comment, error) {
319	ret := _mock.Called(ctx, repo, number, id)
320
321	if len(ret) == 0 {
322		panic("no return value specified for GetComment")
323	}
324
325	var r0 domain.Comment
326	var r1 error
327	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64, int64) (domain.Comment, error)); ok {
328		return returnFunc(ctx, repo, number, id)
329	}
330	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64, int64) domain.Comment); ok {
331		r0 = returnFunc(ctx, repo, number, id)
332	} else {
333		r0 = ret.Get(0).(domain.Comment)
334	}
335	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName, int64, int64) error); ok {
336		r1 = returnFunc(ctx, repo, number, id)
337	} else {
338		r1 = ret.Error(1)
339	}
340	return r0, r1
341}
342
343// MergeRequestStore_GetComment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComment'
344type MergeRequestStore_GetComment_Call struct {
345	*mock.Call
346}
347
348// GetComment is a helper method to define mock.On call
349//   - ctx context.Context
350//   - repo domain.RepoName
351//   - number int64
352//   - id int64
353func (_e *MergeRequestStore_Expecter) GetComment(ctx any, repo any, number any, id any) *MergeRequestStore_GetComment_Call {
354	return &MergeRequestStore_GetComment_Call{Call: _e.mock.On("GetComment", ctx, repo, number, id)}
355}
356
357func (_c *MergeRequestStore_GetComment_Call) Run(run func(ctx context.Context, repo domain.RepoName, number int64, id int64)) *MergeRequestStore_GetComment_Call {
358	_c.Call.Run(func(args mock.Arguments) {
359		var arg0 context.Context
360		if args[0] != nil {
361			arg0 = args[0].(context.Context)
362		}
363		var arg1 domain.RepoName
364		if args[1] != nil {
365			arg1 = args[1].(domain.RepoName)
366		}
367		var arg2 int64
368		if args[2] != nil {
369			arg2 = args[2].(int64)
370		}
371		var arg3 int64
372		if args[3] != nil {
373			arg3 = args[3].(int64)
374		}
375		run(
376			arg0,
377			arg1,
378			arg2,
379			arg3,
380		)
381	})
382	return _c
383}
384
385func (_c *MergeRequestStore_GetComment_Call) Return(comment domain.Comment, err error) *MergeRequestStore_GetComment_Call {
386	_c.Call.Return(comment, err)
387	return _c
388}
389
390func (_c *MergeRequestStore_GetComment_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName, number int64, id int64) (domain.Comment, error)) *MergeRequestStore_GetComment_Call {
391	_c.Call.Return(run)
392	return _c
393}
394
395// GetMergeability provides a mock function for the type MergeRequestStore
396func (_mock *MergeRequestStore) GetMergeability(ctx context.Context, repo domain.RepoName, number int64) (domain.Mergeability, error) {
397	ret := _mock.Called(ctx, repo, number)
398
399	if len(ret) == 0 {
400		panic("no return value specified for GetMergeability")
401	}
402
403	var r0 domain.Mergeability
404	var r1 error
405	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64) (domain.Mergeability, error)); ok {
406		return returnFunc(ctx, repo, number)
407	}
408	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64) domain.Mergeability); ok {
409		r0 = returnFunc(ctx, repo, number)
410	} else {
411		r0 = ret.Get(0).(domain.Mergeability)
412	}
413	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName, int64) error); ok {
414		r1 = returnFunc(ctx, repo, number)
415	} else {
416		r1 = ret.Error(1)
417	}
418	return r0, r1
419}
420
421// MergeRequestStore_GetMergeability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMergeability'
422type MergeRequestStore_GetMergeability_Call struct {
423	*mock.Call
424}
425
426// GetMergeability is a helper method to define mock.On call
427//   - ctx context.Context
428//   - repo domain.RepoName
429//   - number int64
430func (_e *MergeRequestStore_Expecter) GetMergeability(ctx any, repo any, number any) *MergeRequestStore_GetMergeability_Call {
431	return &MergeRequestStore_GetMergeability_Call{Call: _e.mock.On("GetMergeability", ctx, repo, number)}
432}
433
434func (_c *MergeRequestStore_GetMergeability_Call) Run(run func(ctx context.Context, repo domain.RepoName, number int64)) *MergeRequestStore_GetMergeability_Call {
435	_c.Call.Run(func(args mock.Arguments) {
436		var arg0 context.Context
437		if args[0] != nil {
438			arg0 = args[0].(context.Context)
439		}
440		var arg1 domain.RepoName
441		if args[1] != nil {
442			arg1 = args[1].(domain.RepoName)
443		}
444		var arg2 int64
445		if args[2] != nil {
446			arg2 = args[2].(int64)
447		}
448		run(
449			arg0,
450			arg1,
451			arg2,
452		)
453	})
454	return _c
455}
456
457func (_c *MergeRequestStore_GetMergeability_Call) Return(mergeability domain.Mergeability, err error) *MergeRequestStore_GetMergeability_Call {
458	_c.Call.Return(mergeability, err)
459	return _c
460}
461
462func (_c *MergeRequestStore_GetMergeability_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName, number int64) (domain.Mergeability, error)) *MergeRequestStore_GetMergeability_Call {
463	_c.Call.Return(run)
464	return _c
465}
466
467// GetRead provides a mock function for the type MergeRequestStore
468func (_mock *MergeRequestStore) GetRead(ctx context.Context, repo domain.RepoName, number int64) (domain.ObjectID, error) {
469	ret := _mock.Called(ctx, repo, number)
470
471	if len(ret) == 0 {
472		panic("no return value specified for GetRead")
473	}
474
475	var r0 domain.ObjectID
476	var r1 error
477	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64) (domain.ObjectID, error)); ok {
478		return returnFunc(ctx, repo, number)
479	}
480	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64) domain.ObjectID); ok {
481		r0 = returnFunc(ctx, repo, number)
482	} else {
483		r0 = ret.Get(0).(domain.ObjectID)
484	}
485	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName, int64) error); ok {
486		r1 = returnFunc(ctx, repo, number)
487	} else {
488		r1 = ret.Error(1)
489	}
490	return r0, r1
491}
492
493// MergeRequestStore_GetRead_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRead'
494type MergeRequestStore_GetRead_Call struct {
495	*mock.Call
496}
497
498// GetRead is a helper method to define mock.On call
499//   - ctx context.Context
500//   - repo domain.RepoName
501//   - number int64
502func (_e *MergeRequestStore_Expecter) GetRead(ctx any, repo any, number any) *MergeRequestStore_GetRead_Call {
503	return &MergeRequestStore_GetRead_Call{Call: _e.mock.On("GetRead", ctx, repo, number)}
504}
505
506func (_c *MergeRequestStore_GetRead_Call) Run(run func(ctx context.Context, repo domain.RepoName, number int64)) *MergeRequestStore_GetRead_Call {
507	_c.Call.Run(func(args mock.Arguments) {
508		var arg0 context.Context
509		if args[0] != nil {
510			arg0 = args[0].(context.Context)
511		}
512		var arg1 domain.RepoName
513		if args[1] != nil {
514			arg1 = args[1].(domain.RepoName)
515		}
516		var arg2 int64
517		if args[2] != nil {
518			arg2 = args[2].(int64)
519		}
520		run(
521			arg0,
522			arg1,
523			arg2,
524		)
525	})
526	return _c
527}
528
529func (_c *MergeRequestStore_GetRead_Call) Return(objectID domain.ObjectID, err error) *MergeRequestStore_GetRead_Call {
530	_c.Call.Return(objectID, err)
531	return _c
532}
533
534func (_c *MergeRequestStore_GetRead_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName, number int64) (domain.ObjectID, error)) *MergeRequestStore_GetRead_Call {
535	_c.Call.Return(run)
536	return _c
537}
538
539// List provides a mock function for the type MergeRequestStore
540func (_mock *MergeRequestStore) List(ctx context.Context, repo domain.RepoName) ([]domain.MergeRequest, error) {
541	ret := _mock.Called(ctx, repo)
542
543	if len(ret) == 0 {
544		panic("no return value specified for List")
545	}
546
547	var r0 []domain.MergeRequest
548	var r1 error
549	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName) ([]domain.MergeRequest, error)); ok {
550		return returnFunc(ctx, repo)
551	}
552	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName) []domain.MergeRequest); ok {
553		r0 = returnFunc(ctx, repo)
554	} else {
555		if ret.Get(0) != nil {
556			r0 = ret.Get(0).([]domain.MergeRequest)
557		}
558	}
559	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName) error); ok {
560		r1 = returnFunc(ctx, repo)
561	} else {
562		r1 = ret.Error(1)
563	}
564	return r0, r1
565}
566
567// MergeRequestStore_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
568type MergeRequestStore_List_Call struct {
569	*mock.Call
570}
571
572// List is a helper method to define mock.On call
573//   - ctx context.Context
574//   - repo domain.RepoName
575func (_e *MergeRequestStore_Expecter) List(ctx any, repo any) *MergeRequestStore_List_Call {
576	return &MergeRequestStore_List_Call{Call: _e.mock.On("List", ctx, repo)}
577}
578
579func (_c *MergeRequestStore_List_Call) Run(run func(ctx context.Context, repo domain.RepoName)) *MergeRequestStore_List_Call {
580	_c.Call.Run(func(args mock.Arguments) {
581		var arg0 context.Context
582		if args[0] != nil {
583			arg0 = args[0].(context.Context)
584		}
585		var arg1 domain.RepoName
586		if args[1] != nil {
587			arg1 = args[1].(domain.RepoName)
588		}
589		run(
590			arg0,
591			arg1,
592		)
593	})
594	return _c
595}
596
597func (_c *MergeRequestStore_List_Call) Return(mergeRequests []domain.MergeRequest, err error) *MergeRequestStore_List_Call {
598	_c.Call.Return(mergeRequests, err)
599	return _c
600}
601
602func (_c *MergeRequestStore_List_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName) ([]domain.MergeRequest, error)) *MergeRequestStore_List_Call {
603	_c.Call.Return(run)
604	return _c
605}
606
607// ListComments provides a mock function for the type MergeRequestStore
608func (_mock *MergeRequestStore) ListComments(ctx context.Context, repo domain.RepoName, number int64) ([]domain.Comment, error) {
609	ret := _mock.Called(ctx, repo, number)
610
611	if len(ret) == 0 {
612		panic("no return value specified for ListComments")
613	}
614
615	var r0 []domain.Comment
616	var r1 error
617	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64) ([]domain.Comment, error)); ok {
618		return returnFunc(ctx, repo, number)
619	}
620	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64) []domain.Comment); ok {
621		r0 = returnFunc(ctx, repo, number)
622	} else {
623		if ret.Get(0) != nil {
624			r0 = ret.Get(0).([]domain.Comment)
625		}
626	}
627	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName, int64) error); ok {
628		r1 = returnFunc(ctx, repo, number)
629	} else {
630		r1 = ret.Error(1)
631	}
632	return r0, r1
633}
634
635// MergeRequestStore_ListComments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComments'
636type MergeRequestStore_ListComments_Call struct {
637	*mock.Call
638}
639
640// ListComments is a helper method to define mock.On call
641//   - ctx context.Context
642//   - repo domain.RepoName
643//   - number int64
644func (_e *MergeRequestStore_Expecter) ListComments(ctx any, repo any, number any) *MergeRequestStore_ListComments_Call {
645	return &MergeRequestStore_ListComments_Call{Call: _e.mock.On("ListComments", ctx, repo, number)}
646}
647
648func (_c *MergeRequestStore_ListComments_Call) Run(run func(ctx context.Context, repo domain.RepoName, number int64)) *MergeRequestStore_ListComments_Call {
649	_c.Call.Run(func(args mock.Arguments) {
650		var arg0 context.Context
651		if args[0] != nil {
652			arg0 = args[0].(context.Context)
653		}
654		var arg1 domain.RepoName
655		if args[1] != nil {
656			arg1 = args[1].(domain.RepoName)
657		}
658		var arg2 int64
659		if args[2] != nil {
660			arg2 = args[2].(int64)
661		}
662		run(
663			arg0,
664			arg1,
665			arg2,
666		)
667	})
668	return _c
669}
670
671func (_c *MergeRequestStore_ListComments_Call) Return(comments []domain.Comment, err error) *MergeRequestStore_ListComments_Call {
672	_c.Call.Return(comments, err)
673	return _c
674}
675
676func (_c *MergeRequestStore_ListComments_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName, number int64) ([]domain.Comment, error)) *MergeRequestStore_ListComments_Call {
677	_c.Call.Return(run)
678	return _c
679}
680
681// ListOpen provides a mock function for the type MergeRequestStore
682func (_mock *MergeRequestStore) ListOpen(ctx context.Context, repo domain.RepoName) ([]domain.MergeRequest, error) {
683	ret := _mock.Called(ctx, repo)
684
685	if len(ret) == 0 {
686		panic("no return value specified for ListOpen")
687	}
688
689	var r0 []domain.MergeRequest
690	var r1 error
691	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName) ([]domain.MergeRequest, error)); ok {
692		return returnFunc(ctx, repo)
693	}
694	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName) []domain.MergeRequest); ok {
695		r0 = returnFunc(ctx, repo)
696	} else {
697		if ret.Get(0) != nil {
698			r0 = ret.Get(0).([]domain.MergeRequest)
699		}
700	}
701	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName) error); ok {
702		r1 = returnFunc(ctx, repo)
703	} else {
704		r1 = ret.Error(1)
705	}
706	return r0, r1
707}
708
709// MergeRequestStore_ListOpen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOpen'
710type MergeRequestStore_ListOpen_Call struct {
711	*mock.Call
712}
713
714// ListOpen is a helper method to define mock.On call
715//   - ctx context.Context
716//   - repo domain.RepoName
717func (_e *MergeRequestStore_Expecter) ListOpen(ctx any, repo any) *MergeRequestStore_ListOpen_Call {
718	return &MergeRequestStore_ListOpen_Call{Call: _e.mock.On("ListOpen", ctx, repo)}
719}
720
721func (_c *MergeRequestStore_ListOpen_Call) Run(run func(ctx context.Context, repo domain.RepoName)) *MergeRequestStore_ListOpen_Call {
722	_c.Call.Run(func(args mock.Arguments) {
723		var arg0 context.Context
724		if args[0] != nil {
725			arg0 = args[0].(context.Context)
726		}
727		var arg1 domain.RepoName
728		if args[1] != nil {
729			arg1 = args[1].(domain.RepoName)
730		}
731		run(
732			arg0,
733			arg1,
734		)
735	})
736	return _c
737}
738
739func (_c *MergeRequestStore_ListOpen_Call) Return(mergeRequests []domain.MergeRequest, err error) *MergeRequestStore_ListOpen_Call {
740	_c.Call.Return(mergeRequests, err)
741	return _c
742}
743
744func (_c *MergeRequestStore_ListOpen_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName) ([]domain.MergeRequest, error)) *MergeRequestStore_ListOpen_Call {
745	_c.Call.Return(run)
746	return _c
747}
748
749// ListOpenAll provides a mock function for the type MergeRequestStore
750func (_mock *MergeRequestStore) ListOpenAll(ctx context.Context) ([]domain.MergeRequest, error) {
751	ret := _mock.Called(ctx)
752
753	if len(ret) == 0 {
754		panic("no return value specified for ListOpenAll")
755	}
756
757	var r0 []domain.MergeRequest
758	var r1 error
759	if returnFunc, ok := ret.Get(0).(func(context.Context) ([]domain.MergeRequest, error)); ok {
760		return returnFunc(ctx)
761	}
762	if returnFunc, ok := ret.Get(0).(func(context.Context) []domain.MergeRequest); ok {
763		r0 = returnFunc(ctx)
764	} else {
765		if ret.Get(0) != nil {
766			r0 = ret.Get(0).([]domain.MergeRequest)
767		}
768	}
769	if returnFunc, ok := ret.Get(1).(func(context.Context) error); ok {
770		r1 = returnFunc(ctx)
771	} else {
772		r1 = ret.Error(1)
773	}
774	return r0, r1
775}
776
777// MergeRequestStore_ListOpenAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOpenAll'
778type MergeRequestStore_ListOpenAll_Call struct {
779	*mock.Call
780}
781
782// ListOpenAll is a helper method to define mock.On call
783//   - ctx context.Context
784func (_e *MergeRequestStore_Expecter) ListOpenAll(ctx any) *MergeRequestStore_ListOpenAll_Call {
785	return &MergeRequestStore_ListOpenAll_Call{Call: _e.mock.On("ListOpenAll", ctx)}
786}
787
788func (_c *MergeRequestStore_ListOpenAll_Call) Run(run func(ctx context.Context)) *MergeRequestStore_ListOpenAll_Call {
789	_c.Call.Run(func(args mock.Arguments) {
790		var arg0 context.Context
791		if args[0] != nil {
792			arg0 = args[0].(context.Context)
793		}
794		run(
795			arg0,
796		)
797	})
798	return _c
799}
800
801func (_c *MergeRequestStore_ListOpenAll_Call) Return(mergeRequests []domain.MergeRequest, err error) *MergeRequestStore_ListOpenAll_Call {
802	_c.Call.Return(mergeRequests, err)
803	return _c
804}
805
806func (_c *MergeRequestStore_ListOpenAll_Call) RunAndReturn(run func(ctx context.Context) ([]domain.MergeRequest, error)) *MergeRequestStore_ListOpenAll_Call {
807	_c.Call.Return(run)
808	return _c
809}
810
811// OpenBySource provides a mock function for the type MergeRequestStore
812func (_mock *MergeRequestStore) OpenBySource(ctx context.Context, repo domain.RepoName, branches []string, limit int) ([]int64, bool, error) {
813	ret := _mock.Called(ctx, repo, branches, limit)
814
815	if len(ret) == 0 {
816		panic("no return value specified for OpenBySource")
817	}
818
819	var r0 []int64
820	var r1 bool
821	var r2 error
822	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, []string, int) ([]int64, bool, error)); ok {
823		return returnFunc(ctx, repo, branches, limit)
824	}
825	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, []string, int) []int64); ok {
826		r0 = returnFunc(ctx, repo, branches, limit)
827	} else {
828		if ret.Get(0) != nil {
829			r0 = ret.Get(0).([]int64)
830		}
831	}
832	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName, []string, int) bool); ok {
833		r1 = returnFunc(ctx, repo, branches, limit)
834	} else {
835		r1 = ret.Get(1).(bool)
836	}
837	if returnFunc, ok := ret.Get(2).(func(context.Context, domain.RepoName, []string, int) error); ok {
838		r2 = returnFunc(ctx, repo, branches, limit)
839	} else {
840		r2 = ret.Error(2)
841	}
842	return r0, r1, r2
843}
844
845// MergeRequestStore_OpenBySource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenBySource'
846type MergeRequestStore_OpenBySource_Call struct {
847	*mock.Call
848}
849
850// OpenBySource is a helper method to define mock.On call
851//   - ctx context.Context
852//   - repo domain.RepoName
853//   - branches []string
854//   - limit int
855func (_e *MergeRequestStore_Expecter) OpenBySource(ctx any, repo any, branches any, limit any) *MergeRequestStore_OpenBySource_Call {
856	return &MergeRequestStore_OpenBySource_Call{Call: _e.mock.On("OpenBySource", ctx, repo, branches, limit)}
857}
858
859func (_c *MergeRequestStore_OpenBySource_Call) Run(run func(ctx context.Context, repo domain.RepoName, branches []string, limit int)) *MergeRequestStore_OpenBySource_Call {
860	_c.Call.Run(func(args mock.Arguments) {
861		var arg0 context.Context
862		if args[0] != nil {
863			arg0 = args[0].(context.Context)
864		}
865		var arg1 domain.RepoName
866		if args[1] != nil {
867			arg1 = args[1].(domain.RepoName)
868		}
869		var arg2 []string
870		if args[2] != nil {
871			arg2 = args[2].([]string)
872		}
873		var arg3 int
874		if args[3] != nil {
875			arg3 = args[3].(int)
876		}
877		run(
878			arg0,
879			arg1,
880			arg2,
881			arg3,
882		)
883	})
884	return _c
885}
886
887func (_c *MergeRequestStore_OpenBySource_Call) Return(numbers []int64, truncated bool, err error) *MergeRequestStore_OpenBySource_Call {
888	_c.Call.Return(numbers, truncated, err)
889	return _c
890}
891
892func (_c *MergeRequestStore_OpenBySource_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName, branches []string, limit int) ([]int64, bool, error)) *MergeRequestStore_OpenBySource_Call {
893	_c.Call.Return(run)
894	return _c
895}
896
897// OpenByTarget provides a mock function for the type MergeRequestStore
898func (_mock *MergeRequestStore) OpenByTarget(ctx context.Context, repo domain.RepoName, branches []string, limit int) ([]int64, bool, error) {
899	ret := _mock.Called(ctx, repo, branches, limit)
900
901	if len(ret) == 0 {
902		panic("no return value specified for OpenByTarget")
903	}
904
905	var r0 []int64
906	var r1 bool
907	var r2 error
908	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, []string, int) ([]int64, bool, error)); ok {
909		return returnFunc(ctx, repo, branches, limit)
910	}
911	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, []string, int) []int64); ok {
912		r0 = returnFunc(ctx, repo, branches, limit)
913	} else {
914		if ret.Get(0) != nil {
915			r0 = ret.Get(0).([]int64)
916		}
917	}
918	if returnFunc, ok := ret.Get(1).(func(context.Context, domain.RepoName, []string, int) bool); ok {
919		r1 = returnFunc(ctx, repo, branches, limit)
920	} else {
921		r1 = ret.Get(1).(bool)
922	}
923	if returnFunc, ok := ret.Get(2).(func(context.Context, domain.RepoName, []string, int) error); ok {
924		r2 = returnFunc(ctx, repo, branches, limit)
925	} else {
926		r2 = ret.Error(2)
927	}
928	return r0, r1, r2
929}
930
931// MergeRequestStore_OpenByTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenByTarget'
932type MergeRequestStore_OpenByTarget_Call struct {
933	*mock.Call
934}
935
936// OpenByTarget is a helper method to define mock.On call
937//   - ctx context.Context
938//   - repo domain.RepoName
939//   - branches []string
940//   - limit int
941func (_e *MergeRequestStore_Expecter) OpenByTarget(ctx any, repo any, branches any, limit any) *MergeRequestStore_OpenByTarget_Call {
942	return &MergeRequestStore_OpenByTarget_Call{Call: _e.mock.On("OpenByTarget", ctx, repo, branches, limit)}
943}
944
945func (_c *MergeRequestStore_OpenByTarget_Call) Run(run func(ctx context.Context, repo domain.RepoName, branches []string, limit int)) *MergeRequestStore_OpenByTarget_Call {
946	_c.Call.Run(func(args mock.Arguments) {
947		var arg0 context.Context
948		if args[0] != nil {
949			arg0 = args[0].(context.Context)
950		}
951		var arg1 domain.RepoName
952		if args[1] != nil {
953			arg1 = args[1].(domain.RepoName)
954		}
955		var arg2 []string
956		if args[2] != nil {
957			arg2 = args[2].([]string)
958		}
959		var arg3 int
960		if args[3] != nil {
961			arg3 = args[3].(int)
962		}
963		run(
964			arg0,
965			arg1,
966			arg2,
967			arg3,
968		)
969	})
970	return _c
971}
972
973func (_c *MergeRequestStore_OpenByTarget_Call) Return(numbers []int64, truncated bool, err error) *MergeRequestStore_OpenByTarget_Call {
974	_c.Call.Return(numbers, truncated, err)
975	return _c
976}
977
978func (_c *MergeRequestStore_OpenByTarget_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName, branches []string, limit int) ([]int64, bool, error)) *MergeRequestStore_OpenByTarget_Call {
979	_c.Call.Return(run)
980	return _c
981}
982
983// PutMergeability provides a mock function for the type MergeRequestStore
984func (_mock *MergeRequestStore) PutMergeability(ctx context.Context, m domain.Mergeability) error {
985	ret := _mock.Called(ctx, m)
986
987	if len(ret) == 0 {
988		panic("no return value specified for PutMergeability")
989	}
990
991	var r0 error
992	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.Mergeability) error); ok {
993		r0 = returnFunc(ctx, m)
994	} else {
995		r0 = ret.Error(0)
996	}
997	return r0
998}
999
1000// MergeRequestStore_PutMergeability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutMergeability'
1001type MergeRequestStore_PutMergeability_Call struct {
1002	*mock.Call
1003}
1004
1005// PutMergeability is a helper method to define mock.On call
1006//   - ctx context.Context
1007//   - m domain.Mergeability
1008func (_e *MergeRequestStore_Expecter) PutMergeability(ctx any, m any) *MergeRequestStore_PutMergeability_Call {
1009	return &MergeRequestStore_PutMergeability_Call{Call: _e.mock.On("PutMergeability", ctx, m)}
1010}
1011
1012func (_c *MergeRequestStore_PutMergeability_Call) Run(run func(ctx context.Context, m domain.Mergeability)) *MergeRequestStore_PutMergeability_Call {
1013	_c.Call.Run(func(args mock.Arguments) {
1014		var arg0 context.Context
1015		if args[0] != nil {
1016			arg0 = args[0].(context.Context)
1017		}
1018		var arg1 domain.Mergeability
1019		if args[1] != nil {
1020			arg1 = args[1].(domain.Mergeability)
1021		}
1022		run(
1023			arg0,
1024			arg1,
1025		)
1026	})
1027	return _c
1028}
1029
1030func (_c *MergeRequestStore_PutMergeability_Call) Return(err error) *MergeRequestStore_PutMergeability_Call {
1031	_c.Call.Return(err)
1032	return _c
1033}
1034
1035func (_c *MergeRequestStore_PutMergeability_Call) RunAndReturn(run func(ctx context.Context, m domain.Mergeability) error) *MergeRequestStore_PutMergeability_Call {
1036	_c.Call.Return(run)
1037	return _c
1038}
1039
1040// SaveComment provides a mock function for the type MergeRequestStore
1041func (_mock *MergeRequestStore) SaveComment(ctx context.Context, mr domain.MergeRequest, c domain.Comment) error {
1042	ret := _mock.Called(ctx, mr, c)
1043
1044	if len(ret) == 0 {
1045		panic("no return value specified for SaveComment")
1046	}
1047
1048	var r0 error
1049	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.MergeRequest, domain.Comment) error); ok {
1050		r0 = returnFunc(ctx, mr, c)
1051	} else {
1052		r0 = ret.Error(0)
1053	}
1054	return r0
1055}
1056
1057// MergeRequestStore_SaveComment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveComment'
1058type MergeRequestStore_SaveComment_Call struct {
1059	*mock.Call
1060}
1061
1062// SaveComment is a helper method to define mock.On call
1063//   - ctx context.Context
1064//   - mr domain.MergeRequest
1065//   - c domain.Comment
1066func (_e *MergeRequestStore_Expecter) SaveComment(ctx any, mr any, c any) *MergeRequestStore_SaveComment_Call {
1067	return &MergeRequestStore_SaveComment_Call{Call: _e.mock.On("SaveComment", ctx, mr, c)}
1068}
1069
1070func (_c *MergeRequestStore_SaveComment_Call) Run(run func(ctx context.Context, mr domain.MergeRequest, c domain.Comment)) *MergeRequestStore_SaveComment_Call {
1071	_c.Call.Run(func(args mock.Arguments) {
1072		var arg0 context.Context
1073		if args[0] != nil {
1074			arg0 = args[0].(context.Context)
1075		}
1076		var arg1 domain.MergeRequest
1077		if args[1] != nil {
1078			arg1 = args[1].(domain.MergeRequest)
1079		}
1080		var arg2 domain.Comment
1081		if args[2] != nil {
1082			arg2 = args[2].(domain.Comment)
1083		}
1084		run(
1085			arg0,
1086			arg1,
1087			arg2,
1088		)
1089	})
1090	return _c
1091}
1092
1093func (_c *MergeRequestStore_SaveComment_Call) Return(err error) *MergeRequestStore_SaveComment_Call {
1094	_c.Call.Return(err)
1095	return _c
1096}
1097
1098func (_c *MergeRequestStore_SaveComment_Call) RunAndReturn(run func(ctx context.Context, mr domain.MergeRequest, c domain.Comment) error) *MergeRequestStore_SaveComment_Call {
1099	_c.Call.Return(run)
1100	return _c
1101}
1102
1103// SetRead provides a mock function for the type MergeRequestStore
1104func (_mock *MergeRequestStore) SetRead(ctx context.Context, repo domain.RepoName, number int64, head domain.ObjectID) error {
1105	ret := _mock.Called(ctx, repo, number, head)
1106
1107	if len(ret) == 0 {
1108		panic("no return value specified for SetRead")
1109	}
1110
1111	var r0 error
1112	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.RepoName, int64, domain.ObjectID) error); ok {
1113		r0 = returnFunc(ctx, repo, number, head)
1114	} else {
1115		r0 = ret.Error(0)
1116	}
1117	return r0
1118}
1119
1120// MergeRequestStore_SetRead_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetRead'
1121type MergeRequestStore_SetRead_Call struct {
1122	*mock.Call
1123}
1124
1125// SetRead is a helper method to define mock.On call
1126//   - ctx context.Context
1127//   - repo domain.RepoName
1128//   - number int64
1129//   - head domain.ObjectID
1130func (_e *MergeRequestStore_Expecter) SetRead(ctx any, repo any, number any, head any) *MergeRequestStore_SetRead_Call {
1131	return &MergeRequestStore_SetRead_Call{Call: _e.mock.On("SetRead", ctx, repo, number, head)}
1132}
1133
1134func (_c *MergeRequestStore_SetRead_Call) Run(run func(ctx context.Context, repo domain.RepoName, number int64, head domain.ObjectID)) *MergeRequestStore_SetRead_Call {
1135	_c.Call.Run(func(args mock.Arguments) {
1136		var arg0 context.Context
1137		if args[0] != nil {
1138			arg0 = args[0].(context.Context)
1139		}
1140		var arg1 domain.RepoName
1141		if args[1] != nil {
1142			arg1 = args[1].(domain.RepoName)
1143		}
1144		var arg2 int64
1145		if args[2] != nil {
1146			arg2 = args[2].(int64)
1147		}
1148		var arg3 domain.ObjectID
1149		if args[3] != nil {
1150			arg3 = args[3].(domain.ObjectID)
1151		}
1152		run(
1153			arg0,
1154			arg1,
1155			arg2,
1156			arg3,
1157		)
1158	})
1159	return _c
1160}
1161
1162func (_c *MergeRequestStore_SetRead_Call) Return(err error) *MergeRequestStore_SetRead_Call {
1163	_c.Call.Return(err)
1164	return _c
1165}
1166
1167func (_c *MergeRequestStore_SetRead_Call) RunAndReturn(run func(ctx context.Context, repo domain.RepoName, number int64, head domain.ObjectID) error) *MergeRequestStore_SetRead_Call {
1168	_c.Call.Return(run)
1169	return _c
1170}
1171
1172// Update provides a mock function for the type MergeRequestStore
1173func (_mock *MergeRequestStore) Update(ctx context.Context, mr domain.MergeRequest) error {
1174	ret := _mock.Called(ctx, mr)
1175
1176	if len(ret) == 0 {
1177		panic("no return value specified for Update")
1178	}
1179
1180	var r0 error
1181	if returnFunc, ok := ret.Get(0).(func(context.Context, domain.MergeRequest) error); ok {
1182		r0 = returnFunc(ctx, mr)
1183	} else {
1184		r0 = ret.Error(0)
1185	}
1186	return r0
1187}
1188
1189// MergeRequestStore_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
1190type MergeRequestStore_Update_Call struct {
1191	*mock.Call
1192}
1193
1194// Update is a helper method to define mock.On call
1195//   - ctx context.Context
1196//   - mr domain.MergeRequest
1197func (_e *MergeRequestStore_Expecter) Update(ctx any, mr any) *MergeRequestStore_Update_Call {
1198	return &MergeRequestStore_Update_Call{Call: _e.mock.On("Update", ctx, mr)}
1199}
1200
1201func (_c *MergeRequestStore_Update_Call) Run(run func(ctx context.Context, mr domain.MergeRequest)) *MergeRequestStore_Update_Call {
1202	_c.Call.Run(func(args mock.Arguments) {
1203		var arg0 context.Context
1204		if args[0] != nil {
1205			arg0 = args[0].(context.Context)
1206		}
1207		var arg1 domain.MergeRequest
1208		if args[1] != nil {
1209			arg1 = args[1].(domain.MergeRequest)
1210		}
1211		run(
1212			arg0,
1213			arg1,
1214		)
1215	})
1216	return _c
1217}
1218
1219func (_c *MergeRequestStore_Update_Call) Return(err error) *MergeRequestStore_Update_Call {
1220	_c.Call.Return(err)
1221	return _c
1222}
1223
1224func (_c *MergeRequestStore_Update_Call) RunAndReturn(run func(ctx context.Context, mr domain.MergeRequest) error) *MergeRequestStore_Update_Call {
1225	_c.Call.Return(run)
1226	return _c
1227}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 2

Tags 45

↑↓ moveenter openesc close