1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-compute/src/package_provider.rs
Items
struct ResolvedPackage struct PackageInfo trait PackageProvider struct CrystalStoreProvider impl PackageProvider for CrystalStoreProvider impl CrystalStoreProvider struct PackageRegistry impl PackageRegistry impl Default for PackageRegistry static PACKAGE_REGISTRY type CorpusFile struct EquivalenceEntry struct EquivalenceProof const EQUIVALENCE_PROOF_SCHEMA static EQUIVALENCE_INDEX struct MockProvider impl PackageProvider for MockProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 71 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| package_registrysrc/package_provider.rs:261 | fn | 3 | 1 | 10 | 1 | 5.5 | |
| PackageRegistry::defaultsrc/package_provider.rs:237 | trait impl | 17 | 1 | 2 | 11 | 5.4 | |
| handle_packages_ingestsrc/package_provider.rs:657 | fn | 213 | 22 | 9 | 11 | 4.1 | |
| equivalence_indexsrc/package_provider.rs:1182 | fn | 3 | 1 | 5 | 0 | 3.7 | |
| PackageRegistry::newsrc/package_provider.rs:179 | method | 3 | 1 | 6 | 0 | 3.3 | |
| equivalence_proof_digestsrc/package_provider.rs:1150 | fn | 20 | 2 | 2 | 0 | 2.1 | |
| extract_crystal_sidesrc/package_provider.rs:1035 | fn | 68 | 6 | 1 | 2 | 2 | |
| collect_publish_corpussrc/package_provider.rs:360 | fn | 47 | 7 | 4 | 0 | 1.8 | |
| handle_packages_equivalencesrc/package_provider.rs:973 | fn | 61 | 5 | 3 | 1 | 1.8 | |
| handle_packages_resolvesrc/package_provider.rs:299 | fn | 34 | 4 | 3 | 2 | 1.5 | |
| handle_packages_equivalence_substitutesrc/package_provider.rs:1274 | fn | 120 | 8 | 3 | 5 | 1.4 | |
| PackageRegistry::provider_namessrc/package_provider.rs:231 | method | 3 | 1 | 5 | 0 | 1.4 | |
| handle_packages_publishsrc/package_provider.rs:530 | fn | 101 | 8 | 2 | 13 | 1.3 | |
| handle_packages_import_mapsrc/package_provider.rs:873 | fn | 96 | 12 | 3 | 1 | 1.3 | |
| verify_equivalence_proofsrc/package_provider.rs:1173 | fn | 6 | 4 | 2 | 1 | 1.3 | |
| nucleus_keysrc/package_provider.rs:1145 | fn | 3 | 1 | 2 | 0 | 1.2 | |
| generate_equivalence_proofsrc/package_provider.rs:1233 | fn | 35 | 4 | 4 | 2 | 1.1 | |
| PackageRegistry::with_crystal_storesrc/package_provider.rs:184 | method | 5 | 1 | 2 | 1 | 1.1 | |
| record_equivalence_entrysrc/package_provider.rs:1187 | fn | 11 | 5 | 4 | 1 | 1.1 | |
| handle_packages_listsrc/package_provider.rs:268 | fn | 29 | 2 | 2 | 3 | 1 | |
| PackageRegistry::list_allsrc/package_provider.rs:219 | method | 10 | 3 | 2 | 0 | 0.9 | |
| publish_atom_metadatasrc/package_provider.rs:408 | fn | 11 | 1 | 2 | 1 | 0.9 | |
| publish_kindsrc/package_provider.rs:420 | fn | 3 | 1 | 2 | 0 | 0.9 | |
| build_and_store_publish_witnesssrc/package_provider.rs:424 | fn | 25 | 1 | 2 | 2 | 0.9 | |
| persist_corpus_atomssrc/package_provider.rs:450 | fn | 7 | 2 | 2 | 2 | 0.9 | |
| register_publish_crystalsrc/package_provider.rs:458 | fn | 5 | 2 | 2 | 1 | 0.9 | |
| store_publish_resultsrc/package_provider.rs:464 | fn | 37 | 2 | 2 | 2 | 0.9 | |
| upsert_publish_recordsrc/package_provider.rs:502 | fn | 21 | 1 | 2 | 3 | 0.9 | |
| lookup_equivalent_packagesrc/package_provider.rs:1200 | fn | 9 | 1 | 2 | 1 | 0.9 | |
| file_extension_for_languagesrc/package_provider.rs:634 | fn | 17 | 13 | 1 | 0 | 0.8 | |
| lookup_equivalence_entry_by_crystalsrc/package_provider.rs:1211 | fn | 6 | 1 | 1 | 1 | 0.7 | |
| CrystalStoreProvider::resolve_publishedsrc/package_provider.rs:131 | method | 34 | 7 | 1 | 3 | 0.6 | |
| clear_equivalence_index_for_testsrc/package_provider.rs:1225 | fn | 5 | 2 | 1 | 1 | 0.6 | |
| parse_publish_basissrc/package_provider.rs:348 | fn | 11 | 1 | 1 | 0 | 0.6 | |
| emit_publish_creditssrc/package_provider.rs:524 | fn | 5 | 1 | 1 | 1 | 0.6 | |
| CrystalStoreProvider::namesrc/package_provider.rs:77 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| CrystalStoreProvider::resolvesrc/package_provider.rs:81 | trait impl | 26 | 4 | 0 | 3 | 0.5 | |
| CrystalStoreProvider::listsrc/package_provider.rs:108 | trait impl | 20 | 3 | 0 | 1 | 0.5 | |
| PackageRegistry::registersrc/package_provider.rs:191 | method | 3 | 1 | 0 | 0 | 0.5 | |
| PackageRegistry::resolvesrc/package_provider.rs:198 | method | 18 | 4 | 0 | 0 | 0.5 | |
| list_equivalence_clusterssrc/package_provider.rs:1219 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| MockProvider::namesrc/package_provider.rs:1409 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| MockProvider::resolvesrc/package_provider.rs:1413 | trait impl | 14 | 3 | 0 | 0 | 0.5 | |
| MockProvider::listsrc/package_provider.rs:1428 | trait impl | 12 | 1 | 0 | 0 | 0.5 | |
| execution_outputs_are_not_source_packagessrc/package_provider.rs:1445 | fn | 37 | 3 | 0 | 2 | 0.5 | |
| test_resolve_unknown_returns_errorsrc/package_provider.rs:1484 | fn | 7 | 1 | 0 | 0 | 0.5 | |
| test_crystal_store_provider_listsrc/package_provider.rs:1493 | fn | 8 | 1 | 0 | 0 | 0.5 | |
| test_crystal_store_provider_namesrc/package_provider.rs:1503 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| test_package_registry_multi_providersrc/package_provider.rs:1511 | fn | 44 | 1 | 0 | 3 | 0.5 | |
| test_registry_resolve_first_provider_winssrc/package_provider.rs:1557 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| test_registry_resolve_falls_throughsrc/package_provider.rs:1574 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| test_registry_no_providerssrc/package_provider.rs:1591 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| test_registry_all_misssrc/package_provider.rs:1600 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| test_registry_with_crystal_store_defaultsrc/package_provider.rs:1613 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| test_registry_default_has_crystal_store_and_npm_and_pypi_and_cratessrc/package_provider.rs:1620 | fn | 20 | 1 | 0 | 2 | 0.5 | |
| test_handle_packages_resolve_missing_specifiersrc/package_provider.rs:1642 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| test_handle_packages_publish_missing_fieldssrc/package_provider.rs:1649 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| explicit_publish_corpus_must_match_primary_sourcesrc/package_provider.rs:1660 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| explicit_publish_corpus_rejects_extra_filessrc/package_provider.rs:1671 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| explicit_single_source_preserves_custom_name_metadatasrc/package_provider.rs:1685 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| test_crystal_store_provider_resolves_with_crystal_prefixsrc/package_provider.rs:1700 | fn | 45 | 3 | 0 | 5 | 0.5 | |
| published_multi_file_package_resolves_its_bound_primary_sourcesrc/package_provider.rs:1747 | fn | 44 | 1 | 0 | 5 | 0.5 | |
| test_handle_packages_ingest_source_and_languagesrc/package_provider.rs:1793 | fn | 20 | 1 | 0 | 1 | 0.5 | |
| test_handle_packages_ingest_mock_specifiersrc/package_provider.rs:1815 | fn | 25 | 2 | 0 | 3 | 0.5 | |
| test_handle_packages_import_map_generationsrc/package_provider.rs:1842 | fn | 24 | 2 | 0 | 2 | 0.5 | |
| test_handle_packages_equivalencesrc/package_provider.rs:1868 | fn | 29 | 1 | 0 | 1 | 0.5 | |
| unsupported_ingestion_retains_archive_without_executable_identitysrc/package_provider.rs:1899 | fn | 29 | 1 | 0 | 3 | 0.5 | |
| import_map_reports_archive_only_dependency_failuresrc/package_provider.rs:1930 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| equivalence_rejects_unregistered_hashes_and_unsupported_sourcessrc/package_provider.rs:1947 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| test_handle_packages_equivalence_substitutesrc/package_provider.rs:1961 | fn | 58 | 1 | 0 | 4 | 0.5 | |
| equivalence_proof_requires_both_implementations_on_the_nucleussrc/package_provider.rs:2021 | fn | 14 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.