|
OXY API 1.0
OXY API Library Documentation
|
File enumeration using coroutines for the oxy core library. More...
Classes | |
| struct | oxy::enum_file_fn |
| Function object to enumerate files in a directory. More... | |
Namespaces | |
| namespace | oxy |
| This root namespace contains the common types and operations for the OXY-API library. | |
Variables | |
| constexpr enum_file_fn | oxy::enum_file |
| A constexpr instance of the enum_file_fn function object for use in functional programming. | |
File enumeration using coroutines for the oxy core library.
This header defines the enum_file_fn structure, which provides a coroutine-based interface to enumerate files in a directory. It allows for both non-recursive and recursive enumeration of files, yielding the paths of the files found in the specified directory. The enum_file instance of this structure can be used to easily enumerate files in a directory using a coroutine pull type, enabling lazy evaluation of file paths as they are discovered.