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:
parent
15667b7ad8
commit
67b49cd33e
6 changed files with 37 additions and 37 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue