MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda / is_valid_bin_name

Function is_valid_bin_name

crates/cargo-lambda-watch/src/scheduler.rs:277–279  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

275}
276
277fn is_valid_bin_name(name: &str) -> bool {
278 !name.is_empty() && name != DEFAULT_PACKAGE_FUNCTION
279}
280
281#[allow(clippy::result_large_err)]
282fn cargo_command(

Callers 2

start_function_instanceFunction · 0.85
cargo_commandFunction · 0.85

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected