Commit 972c0cc
fix: Fix get_full_path for complex filenames (nix store paths)
Fixed path resolution for files with complex filenames like those in the
nix store (e.g., /nix/store/1ayxpfhvvhq1c454acsgf4vb84m5mnr4-hm_image.png).
The previous implementation incorrectly resolved this to /nix/store/hm_image.png.
Cherry-picked from dylanaraps#2425
Original author: Peter Egger (peterpf)1 parent 7e01ba3 commit 972c0cc
1 file changed
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4601 | 4601 | | |
4602 | 4602 | | |
4603 | 4603 | | |
4604 | | - | |
4605 | | - | |
| 4604 | + | |
| 4605 | + | |
| 4606 | + | |
| 4607 | + | |
| 4608 | + | |
| 4609 | + | |
| 4610 | + | |
4606 | 4611 | | |
4607 | 4612 | | |
4608 | 4613 | | |
4609 | 4614 | | |
4610 | | - | |
4611 | | - | |
4612 | 4615 | | |
4613 | | - | |
4614 | | - | |
4615 | | - | |
4616 | | - | |
| 4616 | + | |
| 4617 | + | |
| 4618 | + | |
| 4619 | + | |
4617 | 4620 | | |
4618 | 4621 | | |
4619 | 4622 | | |
4620 | | - | |
| 4623 | + | |
4621 | 4624 | | |
4622 | 4625 | | |
4623 | 4626 | | |
| |||
0 commit comments