mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Fix snapshot path, update mocks, ignore heads mismatch error
This commit is contained in:
parent
b88e9e34fa
commit
0cac23037c
48 changed files with 87 additions and 106 deletions
|
@ -5,7 +5,6 @@
|
|||
//
|
||||
// mockgen -destination mock_objecttree/mock_objecttree.go github.com/anyproto/any-sync/commonspace/object/tree/objecttree ObjectTree,Storage
|
||||
//
|
||||
|
||||
// Package mock_objecttree is a generated GoMock package.
|
||||
package mock_objecttree
|
||||
|
||||
|
@ -374,11 +373,12 @@ func (mr *MockObjectTreeMockRecorder) SetFlusher(arg0 any) *gomock.Call {
|
|||
}
|
||||
|
||||
// SnapshotPath mocks base method.
|
||||
func (m *MockObjectTree) SnapshotPath() []string {
|
||||
func (m *MockObjectTree) SnapshotPath() ([]string, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "SnapshotPath")
|
||||
ret0, _ := ret[0].([]string)
|
||||
return ret0
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// SnapshotPath indicates an expected call of SnapshotPath.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue