MCPcopy Create free account
hub / github.com/hashintel/hash / intern_provisioned

Method intern_provisioned

libs/@local/hashql/core/src/intern/map.rs:501–503  ·  view source on GitHub ↗

Interns a partial representation with a previously provisioned ID. This method associates the provided partial representation with a previously provisioned ID. If the partial representation is already interned, the existing ID is used instead, which may be different from the provisioned one. # Note While this may sound counterintuitive, this behavior is correct and necessary for proper deduplic

(&self, id: Provisioned<T::Id>, partial: T::Partial)

Source from the content-addressed store, hash-verified

499 ///
500 /// The complete reconstructed object of type `T`.
501 pub fn intern_provisioned(&self, id: Provisioned<T::Id>, partial: T::Partial) -> T {
502 self.intern_parts(Some(id.0), partial)
503 }
504
505 /// Provisions an ID and interns a partial representation created with that ID.
506 ///

Callers 5

internMethod · 0.45
provisioningFunction · 0.45
recursive_structuresFunction · 0.45
variableMethod · 0.45

Calls 1

intern_partsMethod · 0.80

Tested by 3

provisioningFunction · 0.36
recursive_structuresFunction · 0.36