108 bool crossFileSystems =
true,
109 bool includeArtificialFS=
false )
238 Path* remainingStart =
nullptr );
ScanStates
Per-entry information about how a node was scanned.
FTValue::ScanStates ScanFiles(FTree &tree, ScanParameters ¶meters, CanonicalPathList *resultPaths=nullptr, Path *remainingStart=nullptr)
PathRootKind
Classification of path root formats that cannot be directly scanned.
@ DriveLetter
Windows drive letter (C:, D:, etc).
@ Errorneous
Errorneous path format.
@ AbsoluteRoot
Unix-style absolute path starting with /.
@ Relative
Relative path (no special root).
@ Device
Windows device path (\\.\...).
@ URL
URL scheme (http://, ftp://, file://, etc).
@ UNC
Universal Naming Convention (\\server\share).
std::shared_ptr< FFilter > SPFileFilter
A shared pointer to a filter.
String DBG_FILETREE_SCAN_VERBOSE_LOG_FORMAT
CanonicalResult MakeCanonical(Path &sourcePath, FTree::Cursor &node, Path &pathToNode, CanonicalPathList *resultPaths=nullptr)
strings::TString< character > String
Type alias in namespace #"%alib".
system::Path Path
Type alias in namespace #"%alib".
strings::TString< PathCharType > PathString
The string-type used with this ALib Module.
filetree::ScanParameters ScanParameters
Type alias in namespace #"%alib".
filetree::CanonicalPathList CanonicalPathList
Type alias in namespace #"%alib".
Result information from MakeCanonical.
PathRootKind RootKind
What kind of path root was detected.
FileStatus::ScanStates ScanState
Result of canonicalization/scanning.
Input parameters to function #"ScanFiles(FTree&)".
bool RemoveEmptyDirectories
ScanParameters(const PathString &startPath, SymbolicLinks linkTreatment=SymbolicLinks::RECURSIVE, unsigned maxDepth=InfiniteRecursion, bool crossFileSystems=true, bool includeArtificialFS=false)
SymbolicLinks
Options for processing symbolic links.
@ DONT_RESOLVE
Demands not to resolve symbolic links in any way.
@ RESOLVE_BUT_DONT_FOLLOW
SPFileFilter DirectoryFilterPostRecursion
unsigned MaxDepth
The maximum recursion depth. Defaults to #"InfiniteRecursion".
static constexpr unsigned InfiniteRecursion
Denotes 'infinite' recursion if set to field #"MaxDepth".
SymbolicLinks LinkTreatment
Denotes how symbolic links are treated.
Path StartPath
The path to be scanned.
SPFileFilter DirectoryFilterPreRecursion