A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::discover::Options Struct Reference

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
 Maximum file size read during a scan.
 
size_t max_files = 20000
 The most files read in one scan.
 
size_t max_entries = 50000
 The most directory entries visited, including non-source files.
 

Detailed Description

What to read and what to leave alone.

Member Function Documentation

◆ Default()

Options a11::flow::discover::Options::Default ( )
static

Options with the defaults filled in.

Member Data Documentation

◆ max_entries

size_t a11::flow::discover::Options::max_entries = 50000

The most directory entries visited, including non-source files.

◆ max_file_bytes

size_t a11::flow::discover::Options::max_file_bytes = 1u << 20

Maximum file size read during a scan.

◆ max_files

size_t a11::flow::discover::Options::max_files = 20000

The most files read in one scan.

◆ skip_directories

std::vector<std::string> a11::flow::discover::Options::skip_directories

Directory names never descended into.

Defaults to the ones that hold generated code and caches: node_modules, .venv*, build*, cmake-build*, dist, .git, __pycache__, .next, .vscode-test.


The documentation for this struct was generated from the following files: