(content: &[u8])
| 410 | } |
| 411 | |
| 412 | pub(super) fn is_owned_dispatcher(content: &[u8]) -> bool { |
| 413 | let expected = format!("#!/bin/sh\n{DISPATCHER_MARKER}\n"); |
| 414 | content.starts_with(expected.as_bytes()) |
| 415 | } |
| 416 | |
| 417 | pub(super) fn is_legacy_atomic_only(content: &[u8]) -> bool { |
| 418 | let Ok(content) = std::str::from_utf8(content) else { |
no test coverage detected