2019-02-25 23:36:18 +01:00
|
|
|
package app
|
|
|
|
|
2019-02-25 23:51:18 +01:00
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
"github.com/sirupsen/logrus"
|
2019-02-26 00:02:22 +01:00
|
|
|
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/localFileStructure"
|
|
|
|
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/category"
|
2019-02-25 23:51:18 +01:00
|
|
|
)
|
2019-02-25 23:36:18 +01:00
|
|
|
|
2019-02-26 00:02:22 +01:00
|
|
|
func synchronizeImages(fileSystem map[string]*localFileStructure.FilesystemNode, existingCategories map[string]*category.PiwigoCategory) error {
|
2019-02-25 23:36:18 +01:00
|
|
|
findMissingImages()
|
|
|
|
uploadImages()
|
2019-02-26 00:02:22 +01:00
|
|
|
return errors.New("synchronizeImages: NOT IMPLEMENTED")
|
2019-02-25 23:36:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func findMissingImages() {
|
|
|
|
logrus.Warnln("Finding missing images (NotImplemented)")
|
|
|
|
}
|
|
|
|
|
|
|
|
func uploadImages() {
|
|
|
|
logrus.Warnln("Uploading missing images (NotImplemented)")
|
|
|
|
}
|