Hello. I was wondering if there is a portable way to determine if 2 different paths actually reference the same file.
I have read this thread but is Windows-specific.
AFAIK, fstream isn't suitable for the job.
Hello. I was wondering if there is a portable way to determine if 2 different paths actually reference the same file.
I have read this thread but is Windows-specific.
AFAIK, fstream isn't suitable for the job.
Boost.Filesystem, although I doubt it will go so far as to resolve hard links and junctions when giving you a canonical path.