Fix directory mapping

This commit is contained in:
Ben Sarmiento
2023-10-25 17:59:32 +02:00
parent 800401729a
commit 9cffb9fc86
6 changed files with 112 additions and 42 deletions

View File

@@ -16,7 +16,7 @@ type ConfigInterface interface {
EnableRepair() bool
GetPort() string
GetDirectories() []string
MeetsConditions(directory, fileID, fileName string) bool
MeetsConditions(directory, torrentID, torrentName string, fileNames []string) bool
}
func LoadZurgConfig(filename string) (ConfigInterface, error) {