Skip to content
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

cre8-app-compute · module package_provider · src · 2,035 lines (1,643 code, 194 comment) · sha 8ec4204c5a582e79

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
package_registrysrc/package_provider.rs:261fn311015.5
PackageRegistry::defaultsrc/package_provider.rs:237trait impl1712115.4
handle_packages_ingestsrc/package_provider.rs:657fn213229114.1
equivalence_indexsrc/package_provider.rs:1182fn31503.7
PackageRegistry::newsrc/package_provider.rs:179method31603.3
equivalence_proof_digestsrc/package_provider.rs:1150fn202202.1
extract_crystal_sidesrc/package_provider.rs:1035fn686122
collect_publish_corpussrc/package_provider.rs:360fn477401.8
handle_packages_equivalencesrc/package_provider.rs:973fn615311.8
handle_packages_resolvesrc/package_provider.rs:299fn344321.5
handle_packages_equivalence_substitutesrc/package_provider.rs:1274fn1208351.4
PackageRegistry::provider_namessrc/package_provider.rs:231method31501.4
handle_packages_publishsrc/package_provider.rs:530fn10182131.3
handle_packages_import_mapsrc/package_provider.rs:873fn9612311.3
verify_equivalence_proofsrc/package_provider.rs:1173fn64211.3
nucleus_keysrc/package_provider.rs:1145fn31201.2
generate_equivalence_proofsrc/package_provider.rs:1233fn354421.1
PackageRegistry::with_crystal_storesrc/package_provider.rs:184method51211.1
record_equivalence_entrysrc/package_provider.rs:1187fn115411.1
handle_packages_listsrc/package_provider.rs:268fn292231
PackageRegistry::list_allsrc/package_provider.rs:219method103200.9
publish_atom_metadatasrc/package_provider.rs:408fn111210.9
publish_kindsrc/package_provider.rs:420fn31200.9
build_and_store_publish_witnesssrc/package_provider.rs:424fn251220.9
persist_corpus_atomssrc/package_provider.rs:450fn72220.9
register_publish_crystalsrc/package_provider.rs:458fn52210.9
store_publish_resultsrc/package_provider.rs:464fn372220.9
upsert_publish_recordsrc/package_provider.rs:502fn211230.9
lookup_equivalent_packagesrc/package_provider.rs:1200fn91210.9
file_extension_for_languagesrc/package_provider.rs:634fn1713100.8
lookup_equivalence_entry_by_crystalsrc/package_provider.rs:1211fn61110.7
CrystalStoreProvider::resolve_publishedsrc/package_provider.rs:131method347130.6
clear_equivalence_index_for_testsrc/package_provider.rs:1225fn52110.6
parse_publish_basissrc/package_provider.rs:348fn111100.6
emit_publish_creditssrc/package_provider.rs:524fn51110.6
CrystalStoreProvider::namesrc/package_provider.rs:77trait impl31000.5
CrystalStoreProvider::resolvesrc/package_provider.rs:81trait impl264030.5
CrystalStoreProvider::listsrc/package_provider.rs:108trait impl203010.5
PackageRegistry::registersrc/package_provider.rs:191method31000.5
PackageRegistry::resolvesrc/package_provider.rs:198method184000.5
list_equivalence_clusterssrc/package_provider.rs:1219fn31010.5
MockProvider::namesrc/package_provider.rs:1409trait impl31000.5
MockProvider::resolvesrc/package_provider.rs:1413trait impl143000.5
MockProvider::listsrc/package_provider.rs:1428trait impl121000.5
execution_outputs_are_not_source_packagessrc/package_provider.rs:1445fn373020.5
test_resolve_unknown_returns_errorsrc/package_provider.rs:1484fn71000.5
test_crystal_store_provider_listsrc/package_provider.rs:1493fn81000.5
test_crystal_store_provider_namesrc/package_provider.rs:1503fn41000.5
test_package_registry_multi_providersrc/package_provider.rs:1511fn441030.5
test_registry_resolve_first_provider_winssrc/package_provider.rs:1557fn151010.5
test_registry_resolve_falls_throughsrc/package_provider.rs:1574fn151010.5
test_registry_no_providerssrc/package_provider.rs:1591fn71010.5
test_registry_all_misssrc/package_provider.rs:1600fn111010.5
test_registry_with_crystal_store_defaultsrc/package_provider.rs:1613fn51020.5
test_registry_default_has_crystal_store_and_npm_and_pypi_and_cratessrc/package_provider.rs:1620fn201020.5
test_handle_packages_resolve_missing_specifiersrc/package_provider.rs:1642fn51010.5
test_handle_packages_publish_missing_fieldssrc/package_provider.rs:1649fn91010.5
explicit_publish_corpus_must_match_primary_sourcesrc/package_provider.rs:1660fn91010.5
explicit_publish_corpus_rejects_extra_filessrc/package_provider.rs:1671fn121010.5
explicit_single_source_preserves_custom_name_metadatasrc/package_provider.rs:1685fn131010.5
test_crystal_store_provider_resolves_with_crystal_prefixsrc/package_provider.rs:1700fn453050.5
published_multi_file_package_resolves_its_bound_primary_sourcesrc/package_provider.rs:1747fn441050.5
test_handle_packages_ingest_source_and_languagesrc/package_provider.rs:1793fn201010.5
test_handle_packages_ingest_mock_specifiersrc/package_provider.rs:1815fn252030.5
test_handle_packages_import_map_generationsrc/package_provider.rs:1842fn242020.5
test_handle_packages_equivalencesrc/package_provider.rs:1868fn291010.5
unsupported_ingestion_retains_archive_without_executable_identitysrc/package_provider.rs:1899fn291030.5
import_map_reports_archive_only_dependency_failuresrc/package_provider.rs:1930fn151020.5
equivalence_rejects_unregistered_hashes_and_unsupported_sourcessrc/package_provider.rs:1947fn121010.5
test_handle_packages_equivalence_substitutesrc/package_provider.rs:1961fn581040.5
equivalence_proof_requires_both_implementations_on_the_nucleussrc/package_provider.rs:2021fn141020.5

Source not readable from this process.