MCPcopy Create free account
hub / github.com/MrKepzie/Natron / isCaseSensitiveFileSystem

Function isCaseSensitiveFileSystem

Gui/SequenceFileDialog.cpp:141–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139#endif
140
141static inline bool
142isCaseSensitiveFileSystem(const QString &path)
143{
144 Q_UNUSED(path)
145#if defined(Q_OS_WIN)
146 // Return case insensitive unconditionally, even if someone has a case sensitive
147
148 // file system mounted, wrongly capitalized drive letters will cause mismatches.
149 return false;
150#elif defined(Q_OS_OSX)
151
152 return pathconf(QFile::encodeName(path).constData(), _PC_CASE_SENSITIVE);
153#else
154
155 return true;
156#endif
157}
158
159#if 0
160

Callers 1

SequenceFileDialogMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected