Skip to content

Commit

Permalink
Update TODOs based on progress
Browse files Browse the repository at this point in the history
  • Loading branch information
tonimelisma committed Feb 28, 2021
1 parent b805895 commit 32f2a97
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/fastgallery/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,6 @@ func copyRootAssets(gallery directory, dryRun bool, config configuration) {
// createHTML creates an HTML file in the gallery directory, by filling in the thisHTML struct
// with all the required information, combining it with the HTML template and saving it in the file
func createHTML(depth int, source directory, galleryDirectory string, dryRun bool, config configuration) {
// TODO check whether gallerydirectory has subdirectory or if it's the root

// create the thisHTML struct and start filling it with the relevant data
var thisHTML htmlData

Expand Down Expand Up @@ -932,7 +930,6 @@ func createMedia(source directory, gallerySubdirectory string, dryRun bool, conf
// new jobs via the channel to the worker pool, and in the end of the function we
// have code to wrap-up the concurrency.

// TODO concurrency
for _, file := range source.files {
if !file.exists {
var thisJob transformationJob
Expand Down Expand Up @@ -972,7 +969,7 @@ func cleanDirectory(gallery directory, dryRun bool) {

for _, dir := range gallery.subdirectories {
if !dir.exists {
// TODO cleanup functionality
// TODO cleanup functionality, reserved directories
// TODO directory bug - only after files are deleted we know which directories are empty
// What about reserved directories for thumbnails, pictures and originals?
// Implement logic to mark non-existent gallery directories
Expand Down

0 comments on commit 32f2a97

Please sign in to comment.