Artifact 6f553d3bed19356165f4d3388eded8cc335c8ac0:
- File bindings/s2/require.d/fsl/db/checkout.s2 — part of check-in [fdc5e1014e] at 2021-02-11 12:42:23 on branch trunk — Moved C++ and s2 bindings to bindings/{cpp,s2}. Got the C++ bindings compiling for new gcc breakage and new, stricter T-card validation. (user: stephan size: 421)
- File s2/require.d/fsl/db/checkout.s2 — part of check-in [1cffc35efe] at 2016-01-28 12:40:10 on branch trunk — minor script updates. (user: stephan size: 421)
/** require() plugin which returns a handle to the repo Db object for Fossil.require's shared Fossil.Context. If no checkout has been opened when this is called, openCheckout() is called on the context, otherwise there are no side effects. */ return requireS2(['fsl/context'], proc(F){ affirm const d = F.db; if(!d.checkout){ F.openCheckout(); } affirm d.repo; return d.repo; });