Specifies how to traverse a hierarchy.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll) Version: 1.0.4086.0

Syntax

C#
public enum ArchiveTraversalMode
Visual Basic (Declaration)
Public Enumeration ArchiveTraversalMode
Visual C++
public enum class ArchiveTraversalMode

Members

Member nameDescription
Recursive
Operation is recursive. Files in the specified directory and all subdirectories are to be processed. Processes all files and subdirectories matching the specified path/mask. If the source path is a masked path, files/directories in the first level are matched and if their name matches the specified mask, their whole content is compressed. (For example, source path "C:\Data\text*" compresses all files and directories whose name starts with "text" - any files and subdirectories in the matched directories are also compressed, regardless of their names).
NonRecursive
Only matching files in the specified directory are to be processed. No contents of any subdirectories is processed.
DeepMatch
Operation is recursive. Files in the specified directory and all subdirectories are to be processed. This is similar to Recursive mode, but xcopy-like - the mask is applied to files on all levels and all subdirectories are included in the search.

See Also