mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-08 05:47:07 +09:00
normalizeDvRelations
remove duplicate relations
This commit is contained in:
parent
c2cd4cf278
commit
c7bda24efc
4 changed files with 41 additions and 5 deletions
|
@ -40,10 +40,13 @@ func main() {
|
|||
fmt.Println(dt.Stats().MlString())
|
||||
|
||||
fmt.Println("build tree...")
|
||||
st := time.Now()
|
||||
t, _, err := change.BuildTree(dt)
|
||||
if err != nil {
|
||||
log.Fatal("build tree error:", err)
|
||||
}
|
||||
fmt.Printf("build tree done in %.1fs\n", time.Since(st).Seconds())
|
||||
|
||||
if *changeIdx != -1 {
|
||||
id := ""
|
||||
i := 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue