From b8c0a83a87eb108e8dfe02fd08c234087f166f04 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sat, 25 Jun 2022 20:51:16 -0700 Subject: Add config option to specify ignored filename patterns --- hotline/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'hotline/config.go') 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 } -- cgit