Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off

crates/cre8-app-atom/src/sync.rs

cre8-app-atom · module sync · src · 3,748 lines (3,486 code, 109 comment) · sha d60500d3c12901a7

Items

const MAX_FETCH_BYTES const MAX_CORPUS_RESPONSE_BYTES const MAX_FAILURES const CORPUS_FETCH_SCHEMA const CORPUS_FETCH_RESPONSE_SCHEMA const TRANSFER_RECEIPT_SCHEMA const SEMANTIC_DISCOVERY_SCHEMA const SEMANTIC_DISCOVERY_RESPONSE_SCHEMA const SEMANTIC_CLOSURE_DISCOVERY_SCHEMA const SEMANTIC_CLOSURE_DISCOVERY_RESPONSE_SCHEMA const SEMANTIC_CLOSURE_MANIFEST_SCHEMA const SEMANTIC_DEPENDENCY_SCHEMA const SEMANTIC_MANIFEST_SCHEMA const MAX_SEMANTIC_CLOSURE_DEPTH const SEMANTIC_ATOM_KIND_TAG const MAX_AUTH_CLOCK_SKEW_MS const MAX_AVAILABILITY_LEASE_MS static AUTH_REQUEST_NONCE_SEQUENCE static AUTH_REQUEST_NONCE_EPOCH_NANOS trait AtomSource impl AtomSource for F struct PullReport struct SemanticDiscoveryItem struct SemanticDiscoveryResponse struct SemanticDiscoverRequest struct SemanticDiscoveryResponseProof struct SemanticClosureItem struct SemanticClosureEdge struct SemanticClosureDiscoverRequest struct SemanticClosureDiscoveryResponse struct SemanticClosureDiscoveryResponseProof struct PullSemanticClosureRequest struct SemanticClosurePullReport struct PullSemanticsRequest struct SemanticPullReport struct Want struct CorpusFetchRequest struct CorpusFetchResponseProof struct PullTreeRequest struct AuthenticatedCorpusSource impl AuthenticatedCorpusSource impl AtomSource for AuthenticatedCorpusSource struct SemanticDiscoveryClient impl SemanticDiscoveryClient struct SemanticClosureDiscoveryClient impl SemanticClosureDiscoveryClient struct SemanticClosureSelection static NONCES struct MapSource impl AtomSource for MapSource struct PricedSource impl AtomSource for PricedSource struct FsGateGuard impl Drop for FsGateGuard

Functions

By call-graph weight (PageRank; 1.0 is the average function). 85 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
AuthenticatedCorpusSource::fetch_partssrc/sync.rs:620method92113111.8
fresh_authenticated_request_noncesrc/sync.rs:60fn61411.1
handle_pull_tree_with_contextsrc/sync.rs:2220fn201273131.1
handle_pull_semantics_with_contextsrc/sync.rs:2548fn209282121
handle_pull_semantic_closure_with_contextsrc/sync.rs:2766fn266352131
select_semantic_dependency_closuresrc/sync.rs:1184fn7320411
build_transfer_receiptsrc/sync.rs:2183fn321201
pull_tree_withsrc/sync.rs:443fn9613591
validate_semantic_discovery_response_valuesrc/sync.rs:1258fn5114211
validate_semantic_closure_response_structuresrc/sync.rs:1403fn12038211
inflate_partsrc/sync.rs:345fn103300.9
verify_and_store_semantic_partsrc/sync.rs:2422fn234220.9
canonical_fetch_requestsrc/sync.rs:1016fn31500.9
remote_corpussrc/sync.rs:3076fn681420.9
claim_corpus_noncesrc/sync.rs:1715fn122500.9
semantic_manifest_inventorysrc/sync.rs:1046fn6015240.8
local_peer_seedsrc/sync.rs:2163fn101600.8
error_jsonsrc/sync.rs:3033fn81600.8
canonical_semantic_discover_requestsrc/sync.rs:1024fn31400.8
canonical_semantic_closure_discover_requestsrc/sync.rs:1032fn31400.8
auth_contextsrc/sync.rs:3241fn331420.7
response_headersrc/sync.rs:1524fn31400.7
AuthenticatedCorpusSource::optionssrc/sync.rs:611method81300.7
resolve_peer_endpointsrc/sync.rs:2135fn2710330.7
trusted_peer_public_keysrc/sync.rs:2174fn81300.7
pull_semantic_atomssrc/sync.rs:2450fn6414320.7
plan_semantic_missing_atomssrc/sync.rs:2515fn237330.7
normalize_route_endpointsrc/sync.rs:2117fn125100.7
debug_peer_url_enabledsrc/sync.rs:2130fn42100.7
canonical_fetch_responsesrc/sync.rs:1020fn31300.7
semantic_closure_manifest_inventorysrc/sync.rs:1111fn6214220.7
manifest_inventorysrc/sync.rs:1728fn559240.7
handle_corpus_fetchsrc/sync.rs:1784fn90202180.7
handle_semantic_discoversrc/sync.rs:1879fn109181150.6
handle_semantic_closure_discoversrc/sync.rs:1992fn124161170.6
verify_and_storesrc/sync.rs:318fn267120.6
verify_corpus_fetch_authsrc/sync.rs:1532fn5215240.6
canonical_semantic_closure_discovery_responsesrc/sync.rs:1036fn51300.6
verify_semantic_discover_authsrc/sync.rs:1585fn6119240.6
verify_semantic_closure_discover_authsrc/sync.rs:1647fn6723240.6
request_headersrc/sync.rs:1528fn31300.6
pull_wavesrc/sync.rs:357fn8417140.6
canonical_semantic_discovery_responsesrc/sync.rs:1028fn31200.6
validate_semantic_closure_discovery_response_valuesrc/sync.rs:1310fn8826120.5
AtomSource::negotiatesrc/sync.rs:73trait default31000.5
AtomSource::last_fetch_wire_bytessrc/sync.rs:82trait default31000.5
AtomSource::fetch_batchsrc/sync.rs:86trait default92000.5
F::fetch_onesrc/sync.rs:101trait impl31000.5
default_desired_replicassrc/sync.rs:580fn31000.5
default_minimum_replicassrc/sync.rs:584fn31000.5
default_availability_lease_mssrc/sync.rs:588fn31000.5
AuthenticatedCorpusSource::negotiatesrc/sync.rs:715trait impl73010.5
AuthenticatedCorpusSource::fetch_onesrc/sync.rs:723trait impl207010.5
AuthenticatedCorpusSource::fetch_batchsrc/sync.rs:744trait impl31010.5
AuthenticatedCorpusSource::last_fetch_wire_bytessrc/sync.rs:748trait impl31000.5
SemanticDiscoveryClient::discoversrc/sync.rs:770method100110100.5
SemanticClosureDiscoveryClient::discoversrc/sync.rs:892method122110100.5
handle_pull_treesrc/sync.rs:2216fn31010.5
handle_pull_semanticssrc/sync.rs:2539fn31010.5
handle_pull_semantic_closuresrc/sync.rs:2758fn31010.5
MapSource::fetch_onesrc/sync.rs:3054trait impl31000.5
MapSource::fetch_batchsrc/sync.rs:3057trait impl173000.5
batched_pull_fetches_compressed_then_reuses_everythingsrc/sync.rs:3146fn272040.5
tampered_batch_parts_are_rejected_by_addresssrc/sync.rs:3175fn141040.5
warm_sync_repairs_a_corrupt_local_atom_instead_of_reusing_itsrc/sync.rs:3191fn171050.5
priced_and_deferred_parts_fall_back_to_single_fetchsrc/sync.rs:3210fn301040.5
PricedSource::fetch_onesrc/sync.rs:3220trait impl31000.5
PricedSource::fetch_batchsrc/sync.rs:3223trait impl103000.5
corpus_fetch_auth_accepts_trusted_signature_and_rejects_tamperingsrc/sync.rs:3276fn201050.5
manifest_inventory_rejects_ambiguous_materialization_branchessrc/sync.rs:3298fn381030.5
corpus_fetch_handler_binds_signature_scope_manifest_inventory_and_noncesrc/sync.rs:3338fn13310170.5
FsGateGuard::dropsrc/sync.rs:3343trait impl31000.5
transfer_receipt_hash_covers_warm_zero_payload_metricssrc/sync.rs:3473fn281010.5
semantic_discovery_rejects_invalid_signaturesrc/sync.rs:3503fn221060.5
semantic_discovery_nonce_is_single_usesrc/sync.rs:3527fn51030.5
semantic_discovery_response_is_exact_query_and_never_enumeratessrc/sync.rs:3534fn321010.5
semantic_payload_tamper_is_rejected_before_storesrc/sync.rs:3568fn121040.5
semantic_warm_pull_plans_only_local_missing_atomssrc/sync.rs:3582fn291060.5
semantic_closure_bfs_is_deterministic_and_sortedsrc/sync.rs:3613fn191030.5
semantic_closure_fails_closed_at_depth_and_atom_boundssrc/sync.rs:3634fn161030.5
semantic_closure_rejects_malformed_dependency_mapssrc/sync.rs:3652fn302030.5
semantic_closure_response_rejects_paths_and_unsolicited_atomssrc/sync.rs:3684fn141010.5
semantic_closure_auth_rejects_stale_and_wrong_signaturesrc/sync.rs:3700fn331060.5
semantic_closure_nonce_is_single_usesrc/sync.rs:3735fn51030.5
semantic_closure_client_nonces_are_unique_for_identical_rapid_requestssrc/sync.rs:3742fn61010.5

Source not readable from this process.