pub fn sidecar_path(input: &Path) -> PathBufExpand description
Derive the .idx sidecar path by appending .idx to the input path.
ยงExamples
assert_eq!(
pcap_toolkit::sort::index::sidecar_path(std::path::Path::new("/tmp/traffic.pcap")),
std::path::PathBuf::from("/tmp/traffic.pcap.idx"),
);