fn rehome_one(
workdir: &Result<Workdir>,
container_root: &str,
host_path: &Path,
) -> Option<String>Expand description
Copies host_path’s send-copy into host_cwd’s CONTAINER_ATTACHMENTS_SUBDIR, keeping the exact
id-bearing suffix id_bearing_suffix finds, and returns the container-side path string. None
when host_path carries no recognizable id, or the copy fails — logged either way, so a caller
that only has a name to report (missing) still has the reason in the log.