Constants§
- MARKER_
PREFIX_ V2 - Marker prefix appended to every v2 review-comment body. Mirrored by
crate::output_envelope::MARKER_REGEX_V2; both must change together because consumers extract the fingerprint by running the regex over a body whose marker line uses this prefix. The:v2:namespace prevents collision with v1 historical markers and reduces user-paste spoofing risk (typing:v2:by accident is unlikely).
Functions§
- print_
review_ envelope - print_
review_ envelope_ from_ codeclimate_ issues - render_
review_ envelope - render_
review_ envelope_ with_ diff - Render path the print site uses. Exposed so unit tests can pass a
hand-crafted
DiffIndexwithout poking the process-wideSHARED_DIFFcache (which isOnceLock-bounded and not reentrant under cargo test’s parallel runner).