cleaning of the files event system

This commit is contained in:
Pierre
2026-02-08 15:30:31 +01:00
parent ce6995c388
commit a9cbbfacea
16 changed files with 1437 additions and 577 deletions
+5
View File
@@ -104,6 +104,11 @@ func (c *Config) MountsErrorDir() string {
return c.MountsDir + "/errors"
}
// WatchersFilePath returns the path to the watchers configuration file
func (c *Config) WatchersFilePath() string {
return c.MetaCorePath + "/watchers.json"
}
func getEnv(key, defaultValue string) string {
if value := os.Getenv(key); value != "" {
return value