class Utils::ConfigFile::SyncDir
exclude temporary, cache, or version control files from being synced.
skipping certain paths during synchronization operations, making it easy to
directories using rsync. It provides functionality to define patterns for
This class manages the configuration options related to synchronizing
A configuration class for directory synchronization settings.
def skip?(path)
-
(TrueClass, FalseClass)
- true if the path matches the skip
Parameters:
-
path
(String
) -- the path to check against the skip pattern
def skip?(path) path =~ skip_path end