splitted one operator module to file, account, image operators; splitted operator functions; etc

This commit is contained in:
2026-03-05 11:32:32 +02:00
parent 9ecd25ed0b
commit 80d6a244cf
54 changed files with 1049 additions and 826 deletions
+7 -7
View File
@@ -68,9 +68,9 @@ func (util *FileUtil) importFiles(common *CommonFileParams, params *ImportFilesP
putErrors = append(putErrors, err)
return nil
}
ref.JoinResource(relpath)
//fmt.Printf("====%s %s\n", relpath, ref.Raw())
//return nil
ref.JoinResource(relpath)
//fmt.Printf("====%s %s\n", relpath, ref.Raw())
//return nil
file, err := os.OpenFile(walkpath, os.O_RDONLY, 0)
if err != nil {
putErrors = append(putErrors, err)
@@ -100,10 +100,10 @@ func (util *FileUtil) importFiles(common *CommonFileParams, params *ImportFilesP
}
return nil
}
err = filepath.Walk(params.Source, walcFunc)
if err != nil {
return res, err
}
err = filepath.Walk(params.Source, walcFunc)
if err != nil {
return res, err
}
for _, item := range putErrors {
err = errors.Join(err, item)