Handle concurrent editing of Tree.Edit #1938
Annotations
10 errors
build (1.19.2):
pkg/document/crdt/tree.go#L275
Error return value of `n.IndexTreeNode.SetChildren` is not checked (errcheck)
|
build (1.19.2):
pkg/document/crdt/tree.go#L276
Error return value of `split.IndexTreeNode.SetChildren` is not checked (errcheck)
|
build (1.19.2):
pkg/document/crdt/tree.go#L652
Error return value of `fromParent.InsertAt` is not checked (errcheck)
|
build (1.19.2):
pkg/document/crdt/tree.go#L655
Error return value of `fromParent.InsertAfter` is not checked (errcheck)
|
build (1.19.2):
pkg/index/tree.go#L385
increment-decrement: should replace refined += 1 with refined++ (revive)
|
build (1.19.2):
pkg/index/tree.go#L268
exported: comment on exported method Node.ChildIndex should be of the form "ChildIndex ..." (revive)
|
build (1.19.2):
pkg/index/tree.go#L367
exported: comment on exported method Node.FindOffset should be of the form "FindOffset ..." (revive)
|
build (1.19.2):
pkg/index/tree.go#L763
exported: exported method Tree.PathToIndex should have comment or be unexported (revive)
|
build (1.19.2):
pkg/document/crdt/tree.go#L37
exported: comment on exported var DummyTreeNodeID should be of the form "DummyTreeNodeID ..." (revive)
|
build (1.19.2):
pkg/document/crdt/tree.go#L88
exported: comment on exported method TreePos.Equals should be of the form "Equals ..." (revive)
|