1 viewer
rust 1,859,968 · typescript 235,218 · javascript 132,952 · python 20,426 · 6,406 files · digest c536f05fc420 · built in 1.4 s · crystals off
crates/cre8-app-item/src/store/backend.rs
Items
const KIND struct ItemRowIdentity struct ItemRowContent struct ItemRowState struct ItemRowPayload
Functions
By call-graph weight (PageRank; 1.0 is the average function). 50 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| upsert_item_storagesrc/store/backend.rs:152 | fn | 10 | 1 | 3 | 3 | 3.5 | |
| livesrc/store/backend.rs:27 | fn | 3 | 1 | 15 | 0 | 3.3 | |
| vertex_idsrc/store/backend.rs:18 | fn | 3 | 1 | 3 | 0 | 3.3 | |
| get_item_storagesrc/store/backend.rs:162 | fn | 3 | 1 | 1 | 5 | 2.9 | |
| lookupsrc/store/backend.rs:30 | fn | 3 | 1 | 15 | 1 | 2.8 | |
| recordsrc/store/backend.rs:24 | fn | 3 | 1 | 11 | 0 | 2.6 | |
| item_verticessrc/store/backend.rs:21 | fn | 3 | 1 | 10 | 1 | 2.4 | |
| upsert_in_graphsrc/store/backend.rs:107 | fn | 45 | 10 | 8 | 13 | 2.1 | |
| get_or_sync_from_shop_item_storagesrc/store/backend.rs:344 | fn | 4 | 1 | 1 | 1 | 1.9 | |
| get_item_by_slug_storagesrc/store/backend.rs:165 | fn | 8 | 2 | 1 | 5 | 1.7 | |
| get_item_by_shop_sku_storagesrc/store/backend.rs:173 | fn | 14 | 3 | 1 | 6 | 1.5 | |
| list_items_storagesrc/store/backend.rs:187 | fn | 21 | 3 | 1 | 5 | 1.4 | |
| owner_storagesrc/store/backend.rs:253 | fn | 11 | 1 | 1 | 4 | 1.2 | |
| sync_from_shop_item_storagesrc/store/backend.rs:314 | fn | 30 | 3 | 2 | 8 | 1.2 | |
| list_published_storagesrc/store/backend.rs:208 | fn | 11 | 2 | 1 | 5 | 1.1 | |
| search_switch_storagesrc/store/backend.rs:310 | fn | 3 | 1 | 1 | 3 | 1.1 | |
| set_publication_storagesrc/store/backend.rs:264 | fn | 10 | 1 | 1 | 7 | 1 | |
| set_search_storagesrc/store/backend.rs:290 | fn | 7 | 1 | 1 | 3 | 1 | |
| status_storagesrc/store/backend.rs:219 | fn | 10 | 1 | 1 | 4 | 1 | |
| persistsrc/store/backend.rs:97 | fn | 9 | 2 | 5 | 2 | 1 | |
| row_itemsrc/store/backend.rs:488 | fn | 23 | 1 | 3 | 4 | 1 | |
| projectsrc/store/backend.rs:73 | fn | 24 | 8 | 4 | 3 | 1 | |
| delete_item_storagesrc/store/backend.rs:248 | fn | 5 | 1 | 1 | 3 | 1 | |
| rowsrc/store/backend.rs:516 | fn | 18 | 1 | 2 | 0 | 0.9 | |
| search_withdrawnsrc/store/backend.rs:64 | fn | 6 | 3 | 3 | 0 | 0.9 | |
| delete_in_graphsrc/store/backend.rs:229 | fn | 19 | 2 | 3 | 8 | 0.9 | |
| search_switch_in_graphsrc/store/backend.rs:299 | fn | 11 | 3 | 2 | 4 | 0.9 | |
| set_search_in_graphsrc/store/backend.rs:276 | fn | 14 | 2 | 2 | 6 | 0.9 | |
| itemsrc/store/backend.rs:611 | fn | 18 | 1 | 5 | 0 | 0.8 | |
| import_legacy_in_graphsrc/store/backend.rs:373 | fn | 18 | 5 | 4 | 5 | 0.8 | |
| find_identitysrc/store/backend.rs:33 | fn | 19 | 7 | 2 | 3 | 0.8 | |
| require_writersrc/store/backend.rs:52 | fn | 10 | 3 | 2 | 0 | 0.7 | |
| row_item_identitysrc/store/backend.rs:426 | fn | 8 | 1 | 1 | 1 | 0.7 | |
| row_item_contentsrc/store/backend.rs:444 | fn | 8 | 1 | 1 | 1 | 0.7 | |
| row_item_statesrc/store/backend.rs:462 | fn | 8 | 1 | 1 | 2 | 0.7 | |
| row_item_payloadsrc/store/backend.rs:478 | fn | 8 | 1 | 1 | 1 | 0.7 | |
| migrate_legacy_storagesrc/store/backend.rs:393 | fn | 19 | 3 | 1 | 5 | 0.6 | |
| search_docsrc/store/backend.rs:686 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| sync_catalog_from_shop_storagesrc/store/backend.rs:349 | fn | 15 | 3 | 0 | 5 | 0.5 | |
| sync_catalog_from_shop_storagesrc/store/backend.rs:365 | fn | 7 | 1 | 0 | 0 | 0.5 | |
| migrate_legacy_storagesrc/store/backend.rs:413 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| row_item_decodes_json_columnssrc/store/backend.rs:536 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| row_item_defaults_invalid_json_columnssrc/store/backend.rs:547 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| migrate_legacy_at_bootsrc/store/backend.rs:558 | fn | 45 | 8 | 0 | 7 | 0.5 | |
| migrate_legacy_at_bootsrc/store/backend.rs:604 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| catalog_reopens_with_revocation_and_migration_tombstone_intactsrc/store/backend.rs:631 | fn | 26 | 1 | 0 | 9 | 0.5 | |
| catalog_publication_identity_and_tombstones_are_native_and_atomicsrc/store/backend.rs:659 | fn | 27 | 1 | 0 | 7 | 0.5 | |
| fresh_items_are_searchable_by_default_and_only_the_owner_withdraws_themsrc/store/backend.rs:694 | fn | 24 | 1 | 0 | 7 | 0.5 | |
| unrelated_item_kind_vertices_cannot_take_over_catalog_identitysrc/store/backend.rs:720 | fn | 13 | 1 | 0 | 4 | 0.5 | |
| legacy_import_preserves_records_and_never_overwrites_hyperdbsrc/store/backend.rs:735 | fn | 21 | 1 | 0 | 7 | 0.5 |
Source not readable from this process.