8#ifndef HPP_ALIB_CAMP_FILE_FSCANNER
9#define HPP_ALIB_CAMP_FILE_FSCANNER 1
11#if !defined(HPP_ALIB_FILES_FTREE)
15#if !defined(HPP_ALIB_FILES_FFILTER)
18namespace alib {
namespace files {
37 static constexpr unsigned int InfiniteRecursion = (std::numeric_limits<unsigned int>::max)();
115 bool crossFileSystems =
true,
116 bool includeArtificialFS =
false )
249 std::vector<ResultsPaths>& resultPaths );
std::shared_ptr< FFilter > SPFileFilter
ALIB_API enum FInfo::Qualities ScanFiles(FTree &tree, ScanParameters ¶meters, std::vector< ResultsPaths > &resultPaths)
AString RealPath
The 'real' absolute path to the node (no symbolic links included).
FTree::Cursor Node
The node in the tree representing this path.
ResultsPaths(const String &realPath, FTree::Cursor node, bool existed)
ScanParameters(const String &startPath, SymbolicLinks linkTreatment=SymbolicLinks::RECURSIVE, unsigned int maxDepth=InfiniteRecursion, bool crossFileSystems=true, bool includeArtificialFS=false)
SymbolicLinks LinkTreatment
static constexpr unsigned int InfiniteRecursion
bool RemoveEmptyDirectories
SPFileFilter DirectoryFilterPostRecursion
SPFileFilter DirectoryFilterPreRecursion
@ DONT_RESOLVE
Demands not to resolve symbolic links in any way.
@ RESOLVE_BUT_DONT_FOLLOW