Introduce dynamic filtering for repository folders
Allow people who want folder filtering to depend on the external conditions or to make it dynamic for other reasons, to do what they want. New repository configuration knob 'dynamic_folderfilter' was introduced; it defaults to 'False' that matches historical behaviour. GitHub: #73 Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
This commit is contained in:
@ -540,6 +540,12 @@ remoteuser = username
|
||||
#
|
||||
# nametrans = lambda foldername: re.sub('^INBOX\.*', '.', foldername)
|
||||
|
||||
# Determines if folderfilter will be invoked on each run
|
||||
# (dynamic folder filtering) or filtering status will be determined
|
||||
# at startup (default behaviour).
|
||||
#
|
||||
# dynamic_folderfilter = False
|
||||
|
||||
# You can specify which folders to sync using the folderfilter
|
||||
# setting. You can provide any python function (e.g. a lambda function)
|
||||
# which will be invoked for each foldername. If the filter function
|
||||
|
Reference in New Issue
Block a user