diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-25 20:51:16 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-25 20:51:16 -0700 |
| commit | b8c0a83a87eb108e8dfe02fd08c234087f166f04 (patch) | |
| tree | cb8285cab4a7aeaf2da662804e4a2a945b4d0ff0 /hotline/config.go | |
| parent | 264b7c27c7a46e2d0eb699812c8e38cf771fcf00 (diff) | |
Add config option to specify ignored filename patterns
Diffstat (limited to 'hotline/config.go')
| -rw-r--r-- | hotline/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hotline/config.go b/hotline/config.go index d6d801e..aeae275 100644 --- a/hotline/config.go +++ b/hotline/config.go @@ -13,4 +13,5 @@ type Config struct { MaxDownloadsPerClient int `yaml:"MaxDownloadsPerClient"` // Per client simultaneous download limit MaxConnectionsPerIP int `yaml:"MaxConnectionsPerIP"` // Max connections per IP PreserveResourceForks bool `yaml:"PreserveResourceForks"` // Enable preservation of file info and resource forks in sidecar files + IgnoreFiles []string `yaml:"IgnoreFiles"` // List of regular expression for filtering files from the file list } |