[SG16-Unicode] filesystem::path_view::compare()

Thiago Macieira thiago at macieira.org
Sun Aug 25 05:52:48 CEST 2019


On Saturday, 24 August 2019 20:31:00 PDT Lyberta wrote:
> On the second thought, yes, a path component may be on exotic VFS that
> can't be known ahead of time. So there is a way to optimize for common
> cases like NTFS on Windows and EXT4 on Linux but no way to implement
> general case without calling the OS to do actual comparison every time.

Unless the OS exports that information in some form that the application can 
use to compare. Of course, it needs to watch the directory to be sure that the 
property didn't change.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products





More information about the Unicode mailing list