MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / read

Method read

crates/cargo-lambda-build/src/archive.rs:135–139  ·  view source on GitHub ↗

Read the content of the binary archive to the end

(&self)

Source from the content-addressed store, hash-verified

133
134 /// Read the content of the binary archive to the end
135 pub fn read(&self) -> Result<Vec<u8>> {
136 read(&self.path)
137 .into_diagnostic()
138 .wrap_err("failed to read binary archive")
139 }
140
141 /// Calculate the SHA256 hash of the zip binary file
142 pub fn sha256(&self) -> Result<String> {

Callers 14

sha256Method · 0.80
should_spawn_instanceMethod · 0.80
instance_countMethod · 0.80
test_mark_busy_and_idleFunction · 0.80
popMethod · 0.80
keysMethod · 0.80
queue_depthMethod · 0.80
getMethod · 0.80
get_or_register_instanceFunction · 0.80
mark_instance_busyFunction · 0.80
mark_instance_idleFunction · 0.80
create_functionFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_mark_busy_and_idleFunction · 0.64