fn source_path_candidates(path: &str) -> Vec<String>Expand description
Where in an ostree commit the content for a source image path may be found.
The first hit wins, and only the remaps the tar importer performs are tried.
For etc that is unambiguous - an image cannot have both /etc/passwd and
a distinct /usr/etc/passwd once imported, because the first becomes the
second. For var it is merely very unlikely: on ostree v2024.3 and newer
/var is kept as-is, so an image shipping both /var/lib/x and
/usr/share/factory/var/lib/x would have the fallback read the wrong one if
the former had been filtered out. A wrong read is caught by the diff_id
check on the reconstructed layer.