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-transit/src/store.rs
Items
type SqlCommand const MAX_BACKGROUND_SCHEDULE_TRIPS const UPSERT_AGENCY_SQL const UPSERT_LINE_SQL const UPSERT_STOP_SQL const UPSERT_TRIP_SQL type MigratedKey static MIGRATED struct TransitStatusCounts impl TransitStatusCounts struct RowTransitIdentity struct RowTransitState
Functions
By call-graph weight (PageRank; 1.0 is the average function). 28 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ensure_tablessrc/store.rs:56 | fn | 6 | 1 | 12 | 2 | 2.6 | |
| migrate_trip_scheduled_service_columnsrc/store.rs:66 | fn | 37 | 5 | 1 | 4 | 1.6 | |
| count_rowssrc/store.rs:668 | fn | 4 | 1 | 1 | 3 | 1.2 | |
| list_active_tripssrc/store.rs:244 | fn | 11 | 1 | 3 | 4 | 1.1 | |
| control_towersrc/store.rs:521 | fn | 125 | 5 | 4 | 5 | 1.1 | |
| row_tripsrc/store.rs:673 | fn | 16 | 1 | 2 | 4 | 0.9 | |
| statussrc/store.rs:256 | fn | 13 | 1 | 1 | 2 | 0.9 | |
| TransitStatusCounts::loadsrc/store.rs:656 | method | 10 | 1 | 1 | 1 | 0.9 | |
| ingest_feedsrc/store.rs:270 | fn | 102 | 15 | 4 | 15 | 0.9 | |
| create_tripsrc/store.rs:187 | fn | 6 | 1 | 3 | 4 | 0.9 | |
| get_tripsrc/store.rs:233 | fn | 10 | 1 | 3 | 4 | 0.9 | |
| register_agencysrc/store.rs:118 | fn | 6 | 1 | 2 | 4 | 0.8 | |
| create_linesrc/store.rs:140 | fn | 6 | 1 | 2 | 4 | 0.8 | |
| submit_telemetrysrc/store.rs:194 | fn | 38 | 1 | 2 | 3 | 0.8 | |
| trip_upsert_commandsrc/store.rs:167 | fn | 19 | 2 | 2 | 0 | 0.7 | |
| agency_upsert_commandsrc/store.rs:104 | fn | 13 | 1 | 2 | 0 | 0.7 | |
| line_upsert_commandsrc/store.rs:125 | fn | 14 | 1 | 2 | 0 | 0.7 | |
| create_stopsrc/store.rs:160 | fn | 6 | 1 | 1 | 4 | 0.7 | |
| stop_upsert_commandsrc/store.rs:147 | fn | 12 | 1 | 2 | 0 | 0.7 | |
| row_transit_identitysrc/store.rs:702 | fn | 7 | 1 | 1 | 2 | 0.7 | |
| row_transit_statesrc/store.rs:710 | fn | 7 | 1 | 1 | 2 | 0.7 | |
| row_stop_schedulesrc/store.rs:718 | fn | 4 | 1 | 1 | 1 | 0.7 | |
| row_scheduled_servicesrc/store.rs:723 | fn | 7 | 1 | 1 | 1 | 0.7 | |
| reject_stale_realtime_snapshotsrc/store.rs:373 | fn | 18 | 2 | 1 | 3 | 0.5 | |
| schedule_trips_for_ingestsrc/store.rs:392 | fn | 30 | 6 | 1 | 0 | 0.5 | |
| ensure_realtime_tripsrc/store.rs:423 | fn | 52 | 4 | 1 | 4 | 0.5 | |
| realtime_observation_upsert_commandsrc/store.rs:476 | fn | 33 | 1 | 1 | 0 | 0.5 | |
| record_feed_errorsrc/store.rs:510 | fn | 10 | 1 | 1 | 3 | 0.5 |
Source not readable from this process.