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

Function isCaseSensitiveFileSystem

Gui/SequenceFileDialog.cpp:143–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

SequenceFileDialogMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected