1 viewer
rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off
crates/cre8-app-channel/src/chronicle.rs
Items
const CHRONICLE_SCHEMA const CHRONICLE_SCHEMA_V1 const CHRONICLE_HEAD_KIND const VERIFY_MAX_DEPTH const CHRONICLE_ATOM_KIND const CLIP_SCAN_LIMIT const CHRONICLE_LIST_DEFAULT static CHRONICLES const CHRONICLE_SWEEP_CAP static SWEEP_DONE const MEMORY_DAYS const MEMORY_CLIPS_PER_DAY const MEMORY_MOMENT_MAX_CHARS const MEMORY_DIGEST_MAX_CHARS enum Field const MS_PER_DAY
Functions
By call-graph weight (PageRank; 1.0 is the average function). 56 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| write_objectsrc/chronicle.rs:861 | fn | 16 | 4 | 2 | 1 | 7.6 | |
| write_clip_arraysrc/chronicle.rs:879 | fn | 19 | 3 | 1 | 1 | 6.9 | |
| chroniclessrc/chronicle.rs:63 | fn | 3 | 1 | 1 | 0 | 3.3 | |
| lock_chroniclessrc/chronicle.rs:67 | fn | 6 | 2 | 5 | 1 | 3.3 | |
| chronicle_records_for_channelsrc/chronicle.rs:673 | fn | 21 | 2 | 7 | 1 | 2 | |
| civil_from_dayssrc/chronicle.rs:949 | fn | 12 | 4 | 3 | 0 | 1.9 | |
| build_documentsrc/chronicle.rs:794 | fn | 26 | 1 | 3 | 0 | 1.7 | |
| days_from_civilsrc/chronicle.rs:938 | fn | 8 | 4 | 3 | 0 | 1.6 | |
| handle_chronicle_createsrc/chronicle.rs:249 | fn | 137 | 10 | 9 | 20 | 1.6 | |
| memory_safe_textsrc/chronicle.rs:766 | fn | 9 | 3 | 2 | 0 | 1.5 | |
| canonical_bytessrc/chronicle.rs:830 | fn | 20 | 1 | 6 | 1 | 1.4 | |
| committed_momentssrc/chronicle.rs:734 | fn | 27 | 3 | 2 | 2 | 1.3 | |
| day_window_mssrc/chronicle.rs:911 | fn | 10 | 2 | 4 | 2 | 1.3 | |
| chronicle_id_for_atomsrc/chronicle.rs:74 | fn | 3 | 1 | 3 | 0 | 1.2 | |
| docsrc/chronicle.rs:998 | fn | 20 | 1 | 4 | 1 | 1.1 | |
| parse_ymdsrc/chronicle.rs:922 | fn | 13 | 6 | 1 | 2 | 1 | |
| utc_date_stringsrc/chronicle.rs:904 | fn | 5 | 1 | 4 | 1 | 1 | |
| memory_digestsrc/chronicle.rs:713 | fn | 17 | 4 | 1 | 2 | 0.9 | |
| chronicle_by_idsrc/chronicle.rs:668 | fn | 3 | 1 | 3 | 1 | 0.9 | |
| handle_chronicle_getsrc/chronicle.rs:451 | fn | 27 | 3 | 2 | 3 | 0.8 | |
| resolve_channel_idsrc/chronicle.rs:190 | fn | 11 | 4 | 2 | 0 | 0.8 | |
| head_vertex_idsrc/chronicle.rs:78 | fn | 4 | 1 | 2 | 1 | 0.7 | |
| record_from_documentsrc/chronicle.rs:117 | fn | 26 | 3 | 1 | 1 | 0.7 | |
| restore_chain_from_atomsrc/chronicle.rs:144 | fn | 24 | 4 | 1 | 3 | 0.7 | |
| handle_chronicle_verifysrc/chronicle.rs:497 | fn | 169 | 19 | 2 | 7 | 0.7 | |
| restore_from_persistencesrc/chronicle.rs:172 | fn | 13 | 1 | 2 | 3 | 0.6 | |
| lock_sweep_donesrc/chronicle.rs:396 | fn | 6 | 2 | 1 | 0 | 0.6 | |
| verification_failuresrc/chronicle.rs:479 | fn | 13 | 1 | 1 | 0 | 0.6 | |
| latest_memory_recordsrc/chronicle.rs:83 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| persisted_headsrc/chronicle.rs:87 | fn | 6 | 1 | 1 | 3 | 0.6 | |
| persist_headsrc/chronicle.rs:94 | fn | 22 | 3 | 1 | 7 | 0.6 | |
| bounded_textsrc/chronicle.rs:204 | fn | 7 | 2 | 1 | 0 | 0.6 | |
| world_facts_for_channelsrc/chronicle.rs:221 | fn | 17 | 2 | 1 | 2 | 0.6 | |
| chronicle_sweepsrc/chronicle.rs:410 | fn | 38 | 4 | 1 | 5 | 0.6 | |
| project_clipsrc/chronicle.rs:779 | fn | 9 | 1 | 1 | 0 | 0.6 | |
| context_with_durable_graphsrc/chronicle.rs:972 | fn | 16 | 1 | 1 | 3 | 0.5 | |
| reopen_durable_graphsrc/chronicle.rs:989 | fn | 8 | 1 | 1 | 2 | 0.5 | |
| canonical_bytes_stable_under_parse_reserializesrc/chronicle.rs:1020 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| canonical_bytes_field_order_is_fixedsrc/chronicle.rs:1031 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| none_world_facts_serialize_as_json_null_not_missingsrc/chronicle.rs:1045 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| day_window_filters_clips_to_the_utc_daysrc/chronicle.rs:1058 | fn | 16 | 2 | 0 | 2 | 0.5 | |
| malformed_date_yields_no_windowsrc/chronicle.rs:1076 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| civil_date_roundtrips_known_epoch_pointssrc/chronicle.rs:1086 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| chronicle_id_derivation_uses_atom_prefixsrc/chronicle.rs:1098 | fn | 19 | 1 | 0 | 3 | 0.5 | |
| producer_supplied_world_facts_pass_throughsrc/chronicle.rs:1119 | fn | 19 | 1 | 0 | 3 | 0.5 | |
| registry_list_is_newest_first_and_get_by_id_round_tripssrc/chronicle.rs:1140 | fn | 31 | 1 | 0 | 4 | 0.5 | |
| v2_days_chain_to_genesis_and_verify_committed_bytessrc/chronicle.rs:1173 | fn | 25 | 1 | 0 | 4 | 0.5 | |
| one_byte_mutation_changes_the_committed_identitysrc/chronicle.rs:1200 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| folding_the_same_day_reuses_the_committed_chroniclesrc/chronicle.rs:1210 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| worldline_rejects_invalid_and_backdated_dayssrc/chronicle.rs:1220 | fn | 15 | 1 | 0 | 4 | 0.5 | |
| durable_head_rebuilds_the_read_index_after_restartsrc/chronicle.rs:1237 | fn | 38 | 1 | 0 | 8 | 0.5 | |
| get_requires_an_id_or_channelsrc/chronicle.rs:1277 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| bare_create_is_the_sweep_and_honors_a_date_overridesrc/chronicle.rs:1284 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| memory_safe_text_scrubs_structure_and_bounds_lengthsrc/chronicle.rs:1296 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| memory_digest_is_empty_for_a_village_with_no_historysrc/chronicle.rs:1308 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| committed_moments_never_fabricates_from_a_missing_atomsrc/chronicle.rs:1315 | fn | 6 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.