EntropyEngine::Core::IO::ListDirectoryOptions
EntropyEngine::Core::IO::ListDirectoryOptions
Section titled “EntropyEngine::Core::IO::ListDirectoryOptions”Options controlling directory listings. More…
#include <IFileSystemBackend.h>
Public Types
Section titled “Public Types”| Name | |
|---|---|
| enum | SortOrder { None, BySize, ByName, ByModifiedTime} |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| SortOrder | sortBy |
| bool | recursive |
| size_t | maxResults |
| size_t | maxDepth |
| bool | includeHidden |
| std::optional< std::string > | globPattern |
| bool | followSymlinks |
| std::function< bool(const DirectoryEntry &)> | filter |
Detailed Description
Section titled “Detailed Description”struct EntropyEngine::Core::IO::ListDirectoryOptions;Options controlling directory listings.
Parameters:
- recursive If true, recurse into subdirectories
- followSymlinks Whether to follow symlinks during traversal
- maxDepth Maximum recursion depth
- globPattern Optional simple glob filter (e.g., *.txt)
- filter Optional predicate to include/exclude entries
- includeHidden Include hidden files/directories (default false)
- sortBy Sort order for results (none, name, size, modified)
- maxResults Maximum number of results (for pagination; 0 = unlimited)
Public Types Documentation
Section titled “Public Types Documentation”enum SortOrder
Section titled “enum SortOrder”| Enumerator | Value | Description |
|---|---|---|
| None | ||
| BySize | ||
| ByName | ||
| ByModifiedTime |
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable sortBy
Section titled “variable sortBy”SortOrder sortBy = None;variable recursive
Section titled “variable recursive”bool recursive = false;variable maxResults
Section titled “variable maxResults”size_t maxResults = 0;variable maxDepth
Section titled “variable maxDepth”size_t maxDepth = SIZE_MAX;variable includeHidden
Section titled “variable includeHidden”bool includeHidden = false;variable globPattern
Section titled “variable globPattern”std::optional< std::string > globPattern;variable followSymlinks
Section titled “variable followSymlinks”bool followSymlinks = true;variable filter
Section titled “variable filter”std::function< bool(const DirectoryEntry &)> filter;Updated on 2026-01-26 at 17:14:35 -0500