Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Ignoring Paths in Patches

Süleyman Yasir KULA edited this page May 23, 2019 · 3 revisions

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 evaluated as regular expressions: currently, only * (zero or more characters) and ? (zero or one character) special characters are supported.

To ignore a specific directory, end its relative path with a / character, e.g. bin/Data/Logs/.

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.

Clone this wiki locally