This commit is contained in:
Liang Ding 2022-06-03 22:25:41 +08:00
parent 567f8aca23
commit 5b07123d4f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -625,6 +625,7 @@ type CloudIndex struct {
func genCloudIndex(localDirPath string, excludes map[string]bool) (err error) {
cloudIndex := map[string]*CloudIndex{}
// TODO: 优化云端同步资源占用 https://github.com/siyuan-note/siyuan/issues/5093
err = filepath.Walk(localDirPath, func(path string, info fs.FileInfo, err error) error {
if nil != err {
return err