MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / is_ip_address

Function is_ip_address

crates/hyperqueue/src/worker/start/program.rs:249–251  ·  view source on GitHub ↗
(hostname: &str)

Source from the content-addressed store, hash-verified

247}
248
249fn is_ip_address(hostname: &str) -> bool {
250 hostname.chars().all(|c| c.is_ascii_digit() || c == '.')
251}
252
253fn write_node_file(ctx: &TaskBuildContext, path: &Path, short_names: bool) -> std::io::Result<()> {
254 let file = File::create(path)?;

Callers 1

write_node_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected