MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / view_set_id

Function view_set_id

atomic-repository/src/repository/set_id.rs:32–34  ·  view source on GitHub ↗

Derive SetId V1 from the canonical effective projection closure.

(txn: &T, view: &ViewState)

Source from the content-addressed store, hash-verified

30
31/// Derive SetId V1 from the canonical effective projection closure.
32pub fn view_set_id<T: ViewTxnT>(txn: &T, view: &ViewState) -> Result<SetId, RepositoryError> {
33 Ok(effective_projection_identity(txn, view)?.set_id)
34}
35
36/// Derive both identities from one validated projection closure.
37pub fn effective_projection_identity<T: ViewTxnT>(

Callers 1

final_schema_censusMethod · 0.85

Calls 1

Tested by

no test coverage detected