mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 15:12:33 +01:00
This commit is contained in:
parent
e8012158ea
commit
58975bf4ea
1 changed files with 1 additions and 2 deletions
|
|
@ -117,13 +117,12 @@ func CeilBlockCount(count int) int {
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetNotExistPaths(boxID string, paths []string) (ret []string) {
|
func GetNotExistPaths(boxID string, paths []string) (ret []string) {
|
||||||
tmp := blockTrees
|
|
||||||
|
|
||||||
pathsMap := map[string]bool{}
|
pathsMap := map[string]bool{}
|
||||||
for _, path := range paths {
|
for _, path := range paths {
|
||||||
pathsMap[path] = true
|
pathsMap[path] = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tmp := blockTrees
|
||||||
for _, blockTree := range tmp {
|
for _, blockTree := range tmp {
|
||||||
if blockTree.BoxID != boxID {
|
if blockTree.BoxID != boxID {
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue