pub fn gate_source(
path: Option<&str>,
at: &str,
changed: &[String],
) -> Option<String>Expand description
The Comparison::gate_source line: where the gate came from, when the
base had no tak.toml or the head’s would gate differently; None when
there is nothing to say.
path is the base’s tak.toml from the repository root, at the base
commit’s short SHA, and changed what Gates::changes_from and the
caller named, each already a code span. Every interpolation goes through
[code]: the path is a directory name, which can hold a backtick that a
hand-written span would end early on, or a control character.