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

What a scan found, and what it did not read. More...

#include <cpp/a11/flow/discover.h>

Public Attributes

catalogue::Catalogue found
 
size_t files_read = 0
 Files opened and read to the end.
 
std::vector< std::string > too_large
 Files skipped for being larger than max_file_bytes.
 
bool reached_file_limit = false
 Whether max_files stopped the walk before it ran out of files.
 

Detailed Description

What a scan found, and what it did not read.

The counts are here so that a host can say a scan was incomplete. A cap that silently applied itself would make a half-read project look exactly like a project with two actions in it.

Member Data Documentation

◆ files_read

size_t a11::flow::discover::Result::files_read = 0

Files opened and read to the end.

◆ found

catalogue::Catalogue a11::flow::discover::Result::found

◆ reached_file_limit

bool a11::flow::discover::Result::reached_file_limit = false

Whether max_files stopped the walk before it ran out of files.

◆ too_large

std::vector<std::string> a11::flow::discover::Result::too_large

Files skipped for being larger than max_file_bytes.


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