mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 Data sync may cause data loss on Android 14 https://github.com/siyuan-note/siyuan/issues/10205
This commit is contained in:
parent
dfe8f1317c
commit
c00dc1cc5c
13 changed files with 36 additions and 33 deletions
|
|
@ -107,7 +107,7 @@ func resetTree(tree *parse.Tree, titleSuffix string) {
|
|||
func pagedPaths(localPath string, pageSize int) (ret map[int][]string) {
|
||||
ret = map[int][]string{}
|
||||
page := 1
|
||||
filepath.Walk(localPath, func(path string, info fs.FileInfo, err error) error {
|
||||
filelock.Walk(localPath, func(path string, info fs.FileInfo, err error) error {
|
||||
if info.IsDir() {
|
||||
if strings.HasPrefix(info.Name(), ".") {
|
||||
return filepath.SkipDir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue