prepared some parameters
This commit is contained in:
parent
50e6979b00
commit
d80348053e
@ -44,7 +44,7 @@ func Run() {
|
||||
logErrorAndExit(err, 5)
|
||||
}
|
||||
|
||||
err = synchronizeImages()
|
||||
err = synchronizeImages(filesystemNodes, categories)
|
||||
if err != nil {
|
||||
logErrorAndExit(err, 6)
|
||||
}
|
||||
|
@ -3,12 +3,14 @@ package app
|
||||
import (
|
||||
"errors"
|
||||
"github.com/sirupsen/logrus"
|
||||
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/localFileStructure"
|
||||
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/category"
|
||||
)
|
||||
|
||||
func synchronizeImages() error {
|
||||
func synchronizeImages(fileSystem map[string]*localFileStructure.FilesystemNode, existingCategories map[string]*category.PiwigoCategory) error {
|
||||
findMissingImages()
|
||||
uploadImages()
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
return errors.New("synchronizeImages: NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
func findMissingImages() {
|
||||
|
Loading…
Reference in New Issue
Block a user