Skip to main content

Module db

Module db 

Source

Structs§

Database
MutantData
Data collected during mutation for a single generated mutant.
MutantRow
A mutant row read back from the database.

Functions§

compute_patch_hash
Compute the SHA-256 hex digest of diff.
generate_diff
Generate a proper unified diff by running git diff --no-index between the original file on disk and a temp file containing mutated_content. The resulting patch includes context lines and is suitable for git apply.