package
1.69.1
Repository: https://github.com/rclone/rclone.git
Documentation: pkg.go.dev

# 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.
GlobPathToRegexp converts an rsync style glob path to a regexp.
GlobStringToRegexp converts an rsync style glob string to a regexp Without adding of anchors but with ignoring of case, i.e.
NewFilter parses the command line options and creates a Filter object.
Reload the filters from the flags.
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

Opt is the default config for the filter.
OptionsInfo describes the Options in use.

# Structs

Filter describes any filtering in operation.
Options configures the filter.
RulesOpt is configuration for a rule set.

# Type aliases

FilesMap describes the map of files to transfer.