Skip to main content

Module socialgraph

Module socialgraph 

Source

Re-exports§

pub use access::SocialGraphAccessControl;
pub use crawler::SocialGraphCrawler;
pub use local_lists::read_local_list_file_state;
pub use local_lists::sync_local_list_files_force;
pub use local_lists::sync_local_list_files_if_changed;
pub use local_lists::LocalListFileState;
pub use local_lists::LocalListSyncOutcome;

Modules§

access
crawler
local_lists
snapshot

Structs§

PreparedProfileIndexRepair
ProfileIndexRepairAuthority
Opaque proof that the exact prepared root pair is bound to the durable high-level repair evidence in this store.
ProfileIndexRepairPublicationGuard
ProfileIndexRoots
ProfilePublicationFenceGuard
ProfilePublicationGuard
ProfileRootSnapshotGuard
SocialGraphStats
SocialGraphStore
StoredProfileSearchEntry
UpstreamGraphBackendError

Enums§

EventStorageClass
ProfileIndexRepairCommitOutcome

Constants§

PROFILE_REPAIR_COMPLETION_FORMAT
PROFILE_REPAIR_FORMAT
PROFILE_REPAIR_RECEIPT_FORMAT

Traits§

SocialGraphBackend

Functions§

acquire_profile_publication_fence_guard
Acquire the exclusive side of the external profile-publication transaction. Persist the durable fence while this guard is held; after it is released, later publishers acquire the shared side and observe the fence, while every publisher that observed the unfenced state has already drained.
acquire_profile_publication_guard
Acquire a shared transaction before checking the durable profile publication fence. Keep the returned guard alive through the complete external upload/sign/publish operation so fence installation drains every attempt that already passed the check.
acquire_profile_root_snapshot_guard
Hold the shared side of the profile/event-root transaction while a storage retention pass snapshots and traverses every currently published root. Returning None is valid only when the data directory has no socialgraph database yet.
bootstrap_profile_root_pair_transaction_lock
Create the profile root-pair transaction lock for an existing legacy socialgraph directory, then release it. Older stores can predate this lock file, while read-only root snapshots deliberately refuse to create it.
get_follow_distance
get_follows
ingest_event
ingest_graph_parsed_events
ingest_parsed_event
ingest_parsed_event_with_storage_class
ingest_parsed_events
ingest_parsed_events_with_storage_class
is_overmuted
open_embedded_social_graph_store_at_path
open_embedded_social_graph_store_with_storage
open_social_graph_store
open_social_graph_store_at_path
open_social_graph_store_at_path_with_storage
open_social_graph_store_at_path_with_storage_split
open_social_graph_store_with_mapsize
open_social_graph_store_with_storage
profile_index_root_file_sha256
profile_publication_fence_path
profile_publication_is_fenced
profile_repair_completion_path
profile_repair_completion_witness_bytes
profile_repair_evidence_paths
query_events
read_profile_index_roots
Read the two published profile roots without opening the writable social graph LMDB environment.
require_profile_publication_unfenced
set_social_graph_root
validate_profile_indexes_at_roots
Validate both profile indexes against one metadata event at an explicitly pinned root pair. This variant never reads the mutable root files, so it is safe to use while a repair publication guard holds their exclusive lock.
validate_profile_indexes_read_only
Validate both profile indexes against one real metadata event using only a caller-provided blob store. This does not open or mutate the social graph.

Type Aliases§

UserSet