pub fn safe_join_relative(
root: &Path,
stored_relative: &str,
) -> Result<PathBuf, String>Expand description
Join a DB-stored relative path to a trusted root.
Database rows live on a user-writable drive, so callers must not
blindly root.join(file_path) before opening or deleting files.