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 (
|
||||
"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 {
|
||||
|
Loading…
Reference in New Issue
Block a user