WIP: made it build -> will not work as all is currently commented out
This commit is contained in:
parent
207580b73f
commit
4f7aa3349b
@ -7,9 +7,6 @@ package app
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"flag"
|
"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"
|
"github.com/sirupsen/logrus"
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
@ -35,10 +32,10 @@ func Run() {
|
|||||||
logErrorAndExit(err, 2)
|
logErrorAndExit(err, 2)
|
||||||
}
|
}
|
||||||
|
|
||||||
filesystemNodes, err := localFileStructure.ScanLocalFileStructure(context.localRootPath)
|
//filesystemNodes, err := localFileStructure.ScanLocalFileStructure(context.localRootPath)
|
||||||
if err != nil {
|
//if err != nil {
|
||||||
logErrorAndExit(err, 3)
|
// logErrorAndExit(err, 3)
|
||||||
}
|
//}
|
||||||
|
|
||||||
//err = category.SynchronizeCategories(filesystemNodes, context.piwigo, context.dataStore)
|
//err = category.SynchronizeCategories(filesystemNodes, context.piwigo, context.dataStore)
|
||||||
//if err != nil {
|
//if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user