1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
pub use cartog_core as types;
pub use cartog_db as db;
pub use cartog_indexer as indexer;
pub use cartog_languages as languages;
pub use cartog_rag as rag;
pub use cartog_watch as watch;
pub use cartog_lsp as lsp;
/// PID-file locks used by long-lived commands (`serve`, `watch`) and
/// consulted by `cartog self update` to detect concurrent peers.
///
/// Hidden from rustdoc: this is internal CLI plumbing re-exported only
/// so integration tests can reach it without each consumer crate
/// importing `cartog-process-lock` directly. Not a stable public API.
pub use cartog_process_lock as process_lock;
/// Predicate gating the daily background update check.
///
/// Hidden from rustdoc: internal CLI plumbing exposed via the lib facade
/// only so integration tests can reach it. Not a stable public API.
/// Persistent CLI state (last update check, last known latest version).
///
/// Hidden from rustdoc: internal CLI plumbing exposed via the lib facade
/// only so the auto-check thread (`auto_check::spawn_check`) and
/// integration tests can reach it. Not a stable public API.
/// RFC3339 ↔ Unix-seconds helpers used by `state.toml` writers and
/// `auto_check`. Internal — exposed via the lib facade only so the bin
/// target's `commands::self_cmd` can reach it without a duplicate copy.