# Packages
Package filterflags implements command line flags to set up a filter.
# Functions
AddConfig returns a mutable config structure based on a shallow copy of that found in ctx and returns a new context with that added to it.
CopyConfig copies the global config (if any) from srcCtx into dstCtx returning the new context.
GetConfig returns the global or context sensitive config.
GetUseFilter obtains the "use filter" flag from context The flag tells filter-aware backends (Drive) to constrain List using filter.
GlobToRegexp converts an rsync style glob to a regexp
documented in filtering.md.
NewFilter parses the command line options and creates a Filter object.
ReplaceConfig replaces the filter config in the ctx with the one passed in and returns a new context with that added to it.
SetUseFilter returns a context having (re)set the "use filter" flag.
# Variables
DefaultOpt is the default config for the filter.
# Type aliases
FilesMap describes the map of files to transfer.