rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-payment-store/src/native.rs
Items
const DDL const PROVIDER_SELECT const SCOPED_PROVIDER_SELECT const BANK_CONNECTION_SELECT const BANK_SNAPSHOT_SELECT const PAYMENT_SELECT const SETTLEMENT_SELECT struct ProviderRuntimeEvidence struct PaymentStoreCounts impl PaymentStoreCounts struct PaymentCoreCounts impl PaymentCoreCounts struct PaymentBankCounts impl PaymentBankCounts struct PaymentProviderRow impl TryFrom for PaymentProviderConfig struct PaymentIntentRow impl TryFrom for PaymentIntentRecord struct BankConnectionRow impl TryFrom for BankConnectionRecord struct BankBalanceSnapshotRow impl TryFrom for BankBalanceSnapshotRecord struct PaymentSettlementRow impl From for PaymentSettlementRecord
Functions
By call-graph weight (PageRank; 1.0 is the average function). 58 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| row_from_valuesrc/native.rs:1077 | fn | 6 | 1 | 5 | 0 | 4.3 | |
| ensure_tablessrc/native.rs:152 | fn | 32 | 7 | 29 | 5 | 3.8 | |
| parse_json_stringsrc/native.rs:1087 | fn | 9 | 2 | 5 | 0 | 2.2 | |
| count_tablesrc/native.rs:1043 | fn | 3 | 1 | 3 | 3 | 1.7 | |
| settlement_effects_column_existssrc/native.rs:185 | fn | 4 | 1 | 1 | 2 | 1.1 | |
| row_paymentsrc/native.rs:1061 | fn | 3 | 1 | 6 | 1 | 1.1 | |
| row_providersrc/native.rs:1057 | fn | 3 | 1 | 5 | 1 | 1 | |
| count_onesrc/native.rs:1039 | fn | 3 | 1 | 1 | 1 | 1 | |
| row_bank_connectionsrc/native.rs:1065 | fn | 3 | 1 | 4 | 1 | 0.9 | |
| row_bank_snapshotsrc/native.rs:1069 | fn | 3 | 1 | 3 | 1 | 0.8 | |
| PaymentStoreCounts::loadsrc/native.rs:989 | method | 18 | 1 | 1 | 4 | 0.7 | |
| row_settlementsrc/native.rs:1073 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| PaymentCoreCounts::loadsrc/native.rs:1016 | method | 7 | 1 | 1 | 1 | 0.6 | |
| PaymentBankCounts::loadsrc/native.rs:1031 | method | 6 | 1 | 1 | 1 | 0.6 | |
| get_paymentsrc/native.rs:591 | fn | 12 | 1 | 2 | 4 | 0.6 | |
| json_fieldsrc/native.rs:1050 | fn | 6 | 2 | 1 | 1 | 0.6 | |
| upsert_providersrc/native.rs:222 | fn | 37 | 1 | 1 | 3 | 0.5 | |
| get_providersrc/native.rs:260 | fn | 16 | 1 | 1 | 4 | 0.5 | |
| list_providerssrc/native.rs:277 | fn | 19 | 1 | 1 | 4 | 0.5 | |
| upsert_bank_connectionsrc/native.rs:378 | fn | 51 | 1 | 1 | 3 | 0.5 | |
| get_bank_connectionsrc/native.rs:430 | fn | 12 | 1 | 1 | 4 | 0.5 | |
| get_bank_connection_by_idempotencysrc/native.rs:443 | fn | 19 | 1 | 1 | 4 | 0.5 | |
| list_bank_connectionssrc/native.rs:463 | fn | 21 | 1 | 1 | 4 | 0.5 | |
| insert_bank_snapshotsrc/native.rs:485 | fn | 25 | 1 | 1 | 3 | 0.5 | |
| latest_bank_snapshotsrc/native.rs:511 | fn | 16 | 1 | 1 | 4 | 0.5 | |
| list_bank_snapshotssrc/native.rs:528 | fn | 21 | 1 | 1 | 4 | 0.5 | |
| insert_paymentsrc/native.rs:550 | fn | 40 | 1 | 1 | 3 | 0.5 | |
| get_payment_by_idempotencysrc/native.rs:604 | fn | 16 | 1 | 1 | 4 | 0.5 | |
| find_payment_by_provider_refssrc/native.rs:621 | fn | 22 | 1 | 1 | 4 | 0.5 | |
| list_paymentssrc/native.rs:644 | fn | 21 | 1 | 1 | 4 | 0.5 | |
| update_payment_statussrc/native.rs:826 | fn | 26 | 1 | 1 | 5 | 0.5 | |
| insert_eventsrc/native.rs:853 | fn | 42 | 7 | 1 | 6 | 0.5 | |
| insert_legacy_settlementsrc/native.rs:899 | fn | 21 | 1 | 1 | 3 | 0.5 | |
| get_settlementsrc/native.rs:921 | fn | 12 | 1 | 1 | 4 | 0.5 | |
| statussrc/native.rs:958 | fn | 17 | 1 | 1 | 2 | 0.5 | |
| contextsrc/native.rs:1336 | fn | 3 | 1 | 1 | 1 | 0.5 | |
| providersrc/native.rs:1340 | fn | 11 | 1 | 1 | 1 | 0.5 | |
| bank_connectionsrc/native.rs:1352 | fn | 24 | 1 | 1 | 0 | 0.5 | |
| snapshotsrc/native.rs:1377 | fn | 16 | 1 | 1 | 0 | 0.5 | |
| paymentsrc/native.rs:1394 | fn | 22 | 1 | 1 | 0 | 0.5 | |
| eventsrc/native.rs:1417 | fn | 13 | 1 | 1 | 0 | 0.5 | |
| settlementsrc/native.rs:1431 | fn | 13 | 1 | 1 | 0 | 0.5 | |
| upsert_scoped_providersrc/native.rs:297 | fn | 38 | 1 | 0 | 3 | 0.5 | |
| get_scoped_providersrc/native.rs:336 | fn | 19 | 1 | 0 | 4 | 0.5 | |
| list_scoped_providerssrc/native.rs:356 | fn | 21 | 1 | 0 | 4 | 0.5 | |
| list_funnel_paymentssrc/native.rs:666 | fn | 34 | 1 | 0 | 4 | 0.5 | |
| provider_runtime_evidencesrc/native.rs:708 | fn | 57 | 1 | 0 | 4 | 0.5 | |
| provider_runtime_evidence_for_scopesrc/native.rs:766 | fn | 59 | 1 | 0 | 4 | 0.5 | |
| mark_settlement_effects_appliedsrc/native.rs:936 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| settlement_effects_appliedsrc/native.rs:945 | fn | 12 | 1 | 0 | 4 | 0.5 | |
| PaymentProviderConfig::try_fromsrc/native.rs:1116 | trait impl | 26 | 1 | 0 | 1 | 0.5 | |
| PaymentIntentRecord::try_fromsrc/native.rs:1169 | trait impl | 22 | 1 | 0 | 2 | 0.5 | |
| BankConnectionRecord::try_fromsrc/native.rs:1220 | trait impl | 24 | 1 | 0 | 2 | 0.5 | |
| BankBalanceSnapshotRecord::try_fromsrc/native.rs:1265 | trait impl | 21 | 1 | 0 | 1 | 0.5 | |
| PaymentSettlementRecord::fromsrc/native.rs:1302 | trait impl | 13 | 1 | 0 | 1 | 0.5 | |
| unreadable_json_column_is_an_error_not_an_empty_defaultsrc/native.rs:1325 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| sqlite_store_round_trips_every_payment_surfacesrc/native.rs:1446 | fn | 167 | 2 | 0 | 29 | 0.5 | |
| row_builders_use_safe_json_fallbacks_and_status_aliasessrc/native.rs:1615 | fn | 106 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.