1
0
Fork 0
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:
Mikhail Rakhmanov 2025-03-11 16:20:44 +01:00
parent b88e9e34fa
commit 0cac23037c
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
48 changed files with 87 additions and 106 deletions

View file

@ -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.