1 viewer
rust 1,854,448 · typescript 233,181 · javascript 132,491 · python 19,572 · 6,381 files · digest 17250db9be6a · built in 2.2 s · crystals off
crates/cre8-app-atom/src/pricing.rs
Items
struct EncodingOfferSummary struct KindOfferSummary struct AtomOfferSummary type ValueLedgerWriteGuard
Functions
By call-graph weight (PageRank; 1.0 is the average function). 45 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| atom_kind_serve_asset_pathsrc/pricing.rs:97 | fn | 3 | 1 | 14 | 0 | 2.8 | |
| atom_serve_asset_pathsrc/pricing.rs:36 | fn | 3 | 1 | 13 | 0 | 2.6 | |
| encoding_serve_asset_pathsrc/pricing.rs:57 | fn | 3 | 1 | 12 | 0 | 2.6 | |
| is_atom_serve_asset_pathsrc/pricing.rs:63 | fn | 3 | 2 | 5 | 0 | 1.2 | |
| parse_atom_serve_asset_pathsrc/pricing.rs:69 | fn | 3 | 1 | 3 | 0 | 1.1 | |
| position_lookup_errorsrc/pricing.rs:463 | fn | 3 | 1 | 4 | 0 | 0.9 | |
| empty_settlement_outcomesrc/pricing.rs:198 | fn | 3 | 1 | 3 | 0 | 0.9 | |
| settle_position_fetchsrc/pricing.rs:202 | fn | 24 | 1 | 3 | 6 | 0.9 | |
| list_local_encoding_offerssrc/pricing.rs:118 | fn | 12 | 1 | 3 | 2 | 0.8 | |
| summarize_encoding_offersrc/pricing.rs:144 | fn | 13 | 1 | 3 | 1 | 0.8 | |
| list_local_kind_offerssrc/pricing.rs:286 | fn | 12 | 1 | 3 | 2 | 0.8 | |
| summarize_kind_offersrc/pricing.rs:311 | fn | 13 | 1 | 3 | 1 | 0.8 | |
| summarize_atom_offersrc/pricing.rs:380 | fn | 13 | 1 | 3 | 1 | 0.8 | |
| parse_atom_kind_serve_asset_pathsrc/pricing.rs:108 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| list_local_atom_offerssrc/pricing.rs:401 | fn | 12 | 1 | 2 | 2 | 0.8 | |
| is_encoding_serve_asset_pathsrc/pricing.rs:74 | fn | 3 | 2 | 3 | 0 | 0.8 | |
| ledger_lock_poisoned_errorsrc/pricing.rs:475 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| settle_reserved_errorsrc/pricing.rs:479 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| find_consume_position_for_encodingsrc/pricing.rs:160 | fn | 17 | 4 | 3 | 2 | 0.7 | |
| find_consume_position_for_kindsrc/pricing.rs:327 | fn | 17 | 4 | 3 | 2 | 0.7 | |
| find_consume_position_for_atomsrc/pricing.rs:418 | fn | 17 | 4 | 3 | 2 | 0.7 | |
| settle_encoding_serve_fetchsrc/pricing.rs:183 | fn | 14 | 2 | 2 | 5 | 0.7 | |
| settle_kind_serve_fetchsrc/pricing.rs:351 | fn | 14 | 2 | 2 | 5 | 0.7 | |
| settle_atom_serve_fetchsrc/pricing.rs:445 | fn | 14 | 2 | 2 | 5 | 0.7 | |
| is_atom_kind_serve_asset_pathsrc/pricing.rs:102 | fn | 3 | 2 | 2 | 0 | 0.7 | |
| revision_lookup_errorsrc/pricing.rs:467 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| position_writeback_errorsrc/pricing.rs:471 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| settle_unreserved_fetch_paymentsrc/pricing.rs:264 | fn | 16 | 1 | 1 | 0 | 0.7 | |
| fetch_cost_and_quotasrc/pricing.rs:227 | fn | 16 | 3 | 2 | 1 | 0.7 | |
| test_contextsrc/pricing.rs:488 | fn | 5 | 1 | 3 | 1 | 0.6 | |
| parse_encoding_serve_asset_pathsrc/pricing.rs:80 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| settle_fetch_paymentsrc/pricing.rs:244 | fn | 19 | 2 | 1 | 3 | 0.6 | |
| positionsrc/pricing.rs:494 | fn | 21 | 1 | 2 | 0 | 0.6 | |
| upsertsrc/pricing.rs:516 | fn | 3 | 1 | 2 | 1 | 0.6 | |
| asset_path_round_tripssrc/pricing.rs:521 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| parse_rejects_crystal_pathssrc/pricing.rs:529 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| parse_rejects_non_byte_suffixsrc/pricing.rs:536 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| encoding_asset_path_round_tripssrc/pricing.rs:546 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| encoding_paths_distinct_from_atom_pathssrc/pricing.rs:555 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| kind_asset_path_round_tripssrc/pricing.rs:569 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| kind_paths_distinct_from_atom_and_encodingsrc/pricing.rs:577 | fn | 16 | 1 | 0 | 6 | 0.5 | |
| kind_path_preserves_slash_in_other_kindssrc/pricing.rs:595 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| encoding_and_kind_offer_queries_cover_filters_and_summariessrc/pricing.rs:604 | fn | 115 | 1 | 0 | 14 | 0.5 | |
| settlement_zero_error_and_reserved_paths_are_coveredsrc/pricing.rs:721 | fn | 58 | 1 | 0 | 8 | 0.5 | |
| settlement_error_mappers_preserve_contextsrc/pricing.rs:781 | fn | 20 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.