Patches 1 through 3 are all cleanups. Patch 4 adds a bunch of additional checks to improve error messages. It is also less clean code than the others. However, it is optional. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> --- Demi Marie Obenour (4): tools: Use with_resolver_flags instead of mutation tools/mount-flatpak: Create utility function to open a subdirectory tools/mount-flatpak: Move more code to mount_commit() tools/mount-flatpak: Reasonableness checks on application IDs and paths tools/mount-flatpak/src/main.rs | 190 ++++++++++++++++++++++++++++------------ 1 file changed, 134 insertions(+), 56 deletions(-) --- base-commit: 92e219e7c08c479d216a46d2736ea9d229ff034d change-id: 20251202-better-mount-flatpak-cdf8db2ce7f4 -- Sincerely, Demi Marie Obenour (she/her/hers)