Skip to content
Snippets Groups Projects
Forked from Utils / KWSys
Source project has a limited visibility.
  • Brad King's avatar
    5c777f2d
    Optimize KWSys SystemTools::FileExists on Windows · 5c777f2d
    Brad King authored
    We optimize this method by using the GetFileAttributesExA native Windows
    API to check for file existence when possible.  For real Windows builds
    we always use it.  For Cygwin we use cygwin_conv_to_win32_path to get a
    native Windows path if possible and otherwise fall back to 'access'.
    
    Cygwin-to-Windows path conversion and cache by Wojciech Migda.
    See issue #8826.
    5c777f2d
    History
    Optimize KWSys SystemTools::FileExists on Windows
    Brad King authored
    We optimize this method by using the GetFileAttributesExA native Windows
    API to check for file existence when possible.  For real Windows builds
    we always use it.  For Cygwin we use cygwin_conv_to_win32_path to get a
    native Windows path if possible and otherwise fall back to 'access'.
    
    Cygwin-to-Windows path conversion and cache by Wojciech Migda.
    See issue #8826.