Struct fuzzcheck::CorpusDelta [−][src]
pub struct CorpusDelta {
pub path: PathBuf,
pub add: bool,
pub remove: Vec<PoolStorageIndex>,
}
Expand description
A CorpusDelta describes how to reflect a change in the pool’s content to the corpus on the file system.
It is used as the return type to pool.process(..)
where a test case along
with its associated sensor observations is given to the pool. Thus, it is always implicitly associated with
a specific pool and test case.
Fields
path: PathBuf
The common path to the subfolder inside the main corpus where the test cases (added or removed) reside
add: bool
Whether the test case was added to the pool
remove: Vec<PoolStorageIndex>
A list of test cases that were removed