WIP: made it build -> will not work as all is currently commented out

This commit is contained in:
Philipp Häfelfinger 2019-04-04 16:14:34 +02:00
parent 207580b73f
commit 4f7aa3349b

View File

@ -7,9 +7,6 @@ package app
import (
"flag"
"git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/category"
"git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/images"
"git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/localFileStructure"
"github.com/sirupsen/logrus"
"os"
)
@ -35,10 +32,10 @@ func Run() {
logErrorAndExit(err, 2)
}
filesystemNodes, err := localFileStructure.ScanLocalFileStructure(context.localRootPath)
if err != nil {
logErrorAndExit(err, 3)
}
//filesystemNodes, err := localFileStructure.ScanLocalFileStructure(context.localRootPath)
//if err != nil {
// logErrorAndExit(err, 3)
//}
//err = category.SynchronizeCategories(filesystemNodes, context.piwigo, context.dataStore)
//if err != nil {