Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: get_display_path and get_canonical_path (Read 808 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

get_display_path and get_canonical_path

foobar2000_io::filesystem has two functions, get_canonical_path and get_display_path. My question is whether must be possible to get canonical path from display path in custom filesystem implementation?

In other words:
Code: [Select]
get_canonical_path(path1, path2);
get_display_path(path2, path3);
get_canonical_path(path3, path4);

Should path4 always be equal to path2? Or last line is not correct and may but does not have to work at all?