MCPcopy Create free account
hub / github.com/DiamondHunters/NodeInject / write_js_to_file

Function write_js_to_file

src/main.rs:40–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39#[cfg(not(feature = "no_embed"))]
40fn write_js_to_file() {
41 let mut file = File::create(HOOK_JS_WRITE_PATH).unwrap();
42 file.write_all(EMBED_HOOK_JS_BYTES).unwrap();
43}
44#[cfg(feature = "no_embed")]
45fn write_js_to_file() {
46 let mut file = File::create(HOOK_JS_WRITE_PATH).unwrap();

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected