MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / header

Method header

car/src/reader.rs:44–46  ·  view source on GitHub ↗

Returns the header of this car file.

(&self)

Source from the content-addressed store, hash-verified

42
43 /// Returns the header of this car file.
44 pub fn header(&self) -> &CarHeader {
45 &self.header
46 }
47
48 /// Returns the next IPLD Block in the buffer
49 pub async fn next_block(&mut self) -> Result<Option<(Cid, Vec<u8>)>, Error> {

Callers 10

parse_test_dataFunction · 0.45
extract_controllerFunction · 0.45
gitcoin_cacao_carFunction · 0.45
create_anchor_requestMethod · 0.45
try_fromMethod · 0.45

Calls

no outgoing calls

Tested by 6

parse_test_dataFunction · 0.36
extract_controllerFunction · 0.36