Skip to main content

Module corpus_io

Module corpus_io 

Source
Expand description

Shared helpers for reading on-disk corpus directories.

Structs§

CorpusDirEntry
A single corpus file on disk.

Constants§

CORPUS_SUBDIR 🔒
WORKER_DIR_PREFIX 🔒

Functions§

canonical_replay_dirs
Returns every worker*/corpus/ under root, or [root] if none exist.
parse_corpus_filename
Parses a corpus filename of the form <uuid>-<timestamp>.json[.gz].
read_corpus_dir
Iterate corpus files in path, ignoring entries with unparsable names.