config

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultConfigFilename = ".jd.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Root          string        // Root directory to watch
	LogLevel      string        // Logging level: debug, info, warn, error
	Exclude       []string      // Glob patterns to exclude
	DryRun        bool          // If true, don't move files
	Daemonize     bool          // If true, run as daemon; if false, run in foreground
	Delay         time.Duration // Time before before processing files
	Notifications bool          // If true, send desktop notifications
}

Config holds the YAML configuration for the daemon.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL