1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
crates/cre8-app-manifold/src/contract_store.rs
Items
struct ManifoldContract impl ManifoldContract struct ManifoldRegistry impl ManifoldRegistry
Functions
By call-graph weight (PageRank; 1.0 is the average function). 37 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ManifoldContract::newsrc/contract_store.rs:34 | method | 3 | 1 | 76 | 0 | 10.2 | |
| upsert_contractsrc/contract_store.rs:61 | fn | 20 | 3 | 84 | 2 | 9.4 | |
| ManifoldContract::with_rulessrc/contract_store.rs:38 | method | 4 | 1 | 31 | 0 | 5.6 | |
| ManifoldRegistry::rebuild_fromsrc/contract_store.rs:157 | method | 5 | 1 | 58 | 2 | 5.6 | |
| path_is_prefix_ofsrc/contract_store.rs:245 | fn | 10 | 3 | 3 | 0 | 4.8 | |
| ManifoldRegistry::emptysrc/contract_store.rs:152 | method | 3 | 1 | 6 | 0 | 4.7 | |
| ManifoldRegistry::force_rebuildsrc/contract_store.rs:163 | method | 12 | 2 | 2 | 2 | 3.3 | |
| load_contractsrc/contract_store.rs:83 | fn | 10 | 1 | 21 | 3 | 3.2 | |
| load_all_contractssrc/contract_store.rs:95 | fn | 12 | 3 | 5 | 3 | 2.6 | |
| ManifoldRegistry::find_for_assetsrc/contract_store.rs:195 | method | 8 | 3 | 12 | 1 | 2.6 | |
| ManifoldContract::with_asset_kindssrc/contract_store.rs:43 | method | 8 | 1 | 15 | 0 | 2.5 | |
| parse_contractsrc/contract_store.rs:118 | fn | 18 | 2 | 2 | 0 | 2.1 | |
| ManifoldRegistry::matching_for_assetsrc/contract_store.rs:209 | method | 10 | 1 | 1 | 1 | 2 | |
| ManifoldRegistry::cap_rules_for_assetsrc/contract_store.rs:222 | method | 8 | 1 | 6 | 1 | 1.8 | |
| open_graphsrc/contract_store.rs:263 | fn | 3 | 1 | 12 | 0 | 1.7 | |
| sample_universalsrc/contract_store.rs:267 | fn | 12 | 1 | 7 | 3 | 1.1 | |
| ManifoldRegistry::maybe_refreshsrc/contract_store.rs:177 | method | 7 | 2 | 3 | 2 | 1.1 | |
| sample_llmsrc/contract_store.rs:280 | fn | 5 | 1 | 3 | 2 | 0.7 | |
| delete_contractsrc/contract_store.rs:109 | fn | 8 | 2 | 1 | 2 | 0.6 | |
| ManifoldContract::with_parentsrc/contract_store.rs:52 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ManifoldRegistry::getsrc/contract_store.rs:185 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ManifoldRegistry::lensrc/contract_store.rs:231 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ManifoldRegistry::is_emptysrc/contract_store.rs:235 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ManifoldRegistry::allsrc/contract_store.rs:239 | method | 3 | 1 | 0 | 0 | 0.5 | |
| upsert_and_loadsrc/contract_store.rs:289 | fn | 7 | 1 | 0 | 4 | 0.5 | |
| upsert_is_idempotent_and_updatessrc/contract_store.rs:298 | fn | 11 | 1 | 0 | 4 | 0.5 | |
| missing_contract_returns_nonesrc/contract_store.rs:311 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| delete_removes_contractsrc/contract_store.rs:317 | fn | 7 | 1 | 0 | 5 | 0.5 | |
| load_all_returns_every_contractsrc/contract_store.rs:326 | fn | 7 | 1 | 0 | 5 | 0.5 | |
| upsert_rejects_empty_namespacesrc/contract_store.rs:335 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| registry_finds_exact_namespacesrc/contract_store.rs:344 | fn | 6 | 1 | 0 | 5 | 0.5 | |
| registry_longest_prefix_winssrc/contract_store.rs:352 | fn | 15 | 1 | 0 | 7 | 0.5 | |
| registry_cap_rules_include_parent_and_specificsrc/contract_store.rs:369 | fn | 32 | 2 | 0 | 6 | 0.5 | |
| registry_no_partial_segment_matchsrc/contract_store.rs:403 | fn | 8 | 1 | 0 | 6 | 0.5 | |
| registry_refreshes_on_mutationsrc/contract_store.rs:413 | fn | 17 | 1 | 0 | 7 | 0.5 | |
| registry_refresh_is_noop_when_unchangedsrc/contract_store.rs:432 | fn | 8 | 1 | 0 | 5 | 0.5 | |
| path_prefix_helper_requires_slash_boundarysrc/contract_store.rs:442 | fn | 8 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.