MCPcopy Create free account
hub / github.com/archlinux/alpm / rsync_unchanged

Function rsync_unchanged

dev-scripts/src/sync/mirror/rsync_changes.rs:299–302  ·  view source on GitHub ↗
(#[case] input: &[u8])

Source from the content-addressed store, hash-verified

297 #[case::deleted(b"*deleting file.name")]
298 fn rsync_unchanged(#[case] input: &[u8]) -> TestResult {
299 assert_eq!(Report::parser(input)?.file_content_updated()?, None);
300 Ok(())
301 }
302
303 #[rstest]
304 #[case::no_space(b">f+++++++++file.name")]
305 #[case::invalid_first_char(b"Bf+++++++++ file.name")]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected