-
-
Notifications
You must be signed in to change notification settings - Fork 51
Ignoring Paths in Patches
While creating patches, you can instruct SimplePatchTool to ignore some files and/or directories in the application directory. These files/directories will not be included in the patch while creating patches and they will not be counted as obsolete files (and so, will not be touched) while applying patches.
Ignored paths are relative to the application directory; so to ignore a file called config.ch inside {Application directory}\Settings
, you should add Settings/config.ch
to ignored paths. To ignore a specific directory, end its relative path with a / character, e.g. bin/Data/Logs/
. Ignored paths support the * (zero or more characters) and ? (zero or one character) regular expression characters.
It is also possible to ignore a path at runtime in your applications. To do so, you need to register a SimplePatchTool.IListener to SimplePatchTool and call versionInfo.AddIgnoredPath(string ignoredPath)
in the listener's VersionInfoFetched callback.