|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
What to read and what to leave alone. More...
#include <cpp/a11/flow/discover.h>
Static Public Member Functions | |
| static Options | Default () |
| Options with the defaults filled in. | |
Public Attributes | |
| std::vector< std::string > | skip_directories |
| Directory names never descended into. | |
| size_t | max_file_bytes = 1u << 20 |
| The largest file read. | |
| size_t | max_files = 20000 |
| The most files read in one scan. | |
What to read and what to leave alone.
| size_t a11::flow::discover::Options::max_file_bytes = 1u << 20 |
The largest file read.
A generated or vendored file of several megabytes is not where anybody declares an action, and reading one on every save is what makes an editor feel slow.
| size_t a11::flow::discover::Options::max_files = 20000 |
The most files read in one scan.
| std::vector<std::string> a11::flow::discover::Options::skip_directories |
Directory names never descended into.
Defaults to the ones that hold somebody else's code or a build of this one: node_modules, .venv, build, cmake-build-*, dist, .git, __pycache__.