110 bool crossFileSystems =
true,
111 bool includeArtificialFS=
false )
238 Path* remainingStart =
nullptr );
ScanStates
Per-entry information about how a node was scanned.
String DBG_FILES_SCAN_VERBOSE_LOG_FORMAT
FInfo::ScanStates MakeCanonical(Path &sourcePath, FTree::Cursor &node, Path &pathToNode, CanonicalPathList *resultPaths=nullptr)
FInfo::ScanStates ScanFiles(FTree &tree, ScanParameters ¶meters, CanonicalPathList *resultPaths=nullptr, Path *remainingStart=nullptr)
std::shared_ptr< FFilter > SPFileFilter
A shared pointer to a filter.
strings::TString< PathCharType > PathString
The string-type used with this ALib Module.
files::CanonicalPathList CanonicalPathList
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.
system::Path Path
Type alias in namespace alib.
files::ScanParameters ScanParameters
Type alias in namespace alib.
void Add(FTree::Cursor node)
Input parameters to function #"ScanFiles(FTree&)".
unsigned MaxDepth
The maximum recursion depth. Defaults to #"InfiniteRecursion".
SPFileFilter DirectoryFilterPreRecursion
static constexpr unsigned InfiniteRecursion
Denotes 'infinite' recursion if set to field #"MaxDepth".
SymbolicLinks LinkTreatment
Denotes how symbolic links are treated.
SymbolicLinks
Options for processing symbolic links.
@ DONT_RESOLVE
Demands not to resolve symbolic links in any way.
@ RESOLVE_BUT_DONT_FOLLOW
Path StartPath
The path to be scanned.
SPFileFilter DirectoryFilterPostRecursion
ScanParameters(const system::PathString &startPath, SymbolicLinks linkTreatment=SymbolicLinks::RECURSIVE, unsigned maxDepth=InfiniteRecursion, bool crossFileSystems=true, bool includeArtificialFS=false)
bool RemoveEmptyDirectories