MCPcopy Create free account
hub / github.com/dfinity/orbit / local_bin

Function local_bin

tests/integration/src/setup.rs:270–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

268}
269
270fn local_bin() -> PathBuf {
271 let mut file_path = PathBuf::from(
272 std::env::var("CARGO_MANIFEST_DIR")
273 .expect("Failed to read CARGO_MANIFEST_DIR env variable"),
274 );
275 file_path.push("wasms");
276 file_path
277}
278
279fn read_file_from_local_bin(file_name: &str) -> Vec<u8> {
280 let mut file_path = local_bin();

Callers 1

read_file_from_local_binFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected