Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FossilArtifactByPath ¶
func FossilBinary ¶
func FossilBinary() string
FossilBinary resolves the canonical fossil binary: the FOSSIL_BIN override first, then PATH. An override that does not resolve to an executable is treated as no binary at all, so the caller reports "fossil not found" rather than letting a stale path surface later as a raw fork/exec error.
func FossilRebuild ¶
func FossilTimeline ¶
func RequireFossilBin ¶
RequireFossilBin resolves the fossil binary for tests that need canonical Fossil to run. It resolves the same way FossilBinary does (the FOSSIL_BIN override, then PATH). When no binary is found it skips the test, unless REQUIRE_FOSSIL_BIN=1 is set -- then it fails. That makes CI turn a missing binary into a loud failure (verifying real Fossil reads what we write is the one thing our own tests cannot substitute for) while local runs without fossil installed stay an opt-in skip.