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