1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

Rename ObjectTree.Iterate to IterateRoot

This commit is contained in:
mcrakhman 2023-01-04 14:39:26 +01:00 committed by Mikhail Iudin
parent 15667b7ad8
commit 67b49cd33e
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
6 changed files with 37 additions and 37 deletions

View file

@ -90,7 +90,7 @@ func (t *textDocument) Text() (text string, err error) {
t.RLock()
defer t.RUnlock()
err = t.Iterate(
err = t.IterateRoot(
func(decrypted []byte) (any, error) {
textChange := &textchange.TextData{}
err = proto.Unmarshal(decrypted, textChange)