diff options
Diffstat (limited to 'include/lldb/Host/FileSpec.h')
-rw-r--r-- | include/lldb/Host/FileSpec.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/lldb/Host/FileSpec.h b/include/lldb/Host/FileSpec.h index 0ff1bc9d2f44..219af662dfcb 100644 --- a/include/lldb/Host/FileSpec.h +++ b/include/lldb/Host/FileSpec.h @@ -117,6 +117,12 @@ public: //------------------------------------------------------------------ ~FileSpec (); + bool + DirectoryEquals(const FileSpec &other) const; + + bool + FileEquals(const FileSpec &other) const; + //------------------------------------------------------------------ /// Assignment operator. /// @@ -261,6 +267,19 @@ public: Equal (const FileSpec& a, const FileSpec& b, bool full, bool remove_backups = false); //------------------------------------------------------------------ + /// Case sensitivity of path. + /// + /// @return + /// \b true if the file path is case sensitive (POSIX), false + /// if case insensitive (Windows). + //------------------------------------------------------------------ + bool + IsCaseSensitive() const + { + return m_syntax != ePathSyntaxWindows; + } + + //------------------------------------------------------------------ /// Dump this object to a Stream. /// /// Dump the object to the supplied stream \a s. If the object |