binaryninja-api
binaryninja-api copied to clipboard
better differentiation between identical files
It's common that someone wants to open two files in a similar folder structure:
parent
+ folder1
| + sub 1
| | + file1.dll
+ folder2
| + sub 1
| | + file1.dll
If both versions of file1.dll are opened, you'd want to be able to distinguish in the UI. Here's how VSCode does it (in short, if two files have the same name, walk their paths to find the first diverging directory, show that):