aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Path.cpp')
-rw-r--r--lib/System/Path.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp
index fd7fd4f665..ace8505d61 100644
--- a/lib/System/Path.cpp
+++ b/lib/System/Path.cpp
@@ -21,16 +21,6 @@ using namespace sys;
//=== independent code.
//===----------------------------------------------------------------------===//
-bool
-Path::is_file() const {
- return (is_valid() && path[path.length()-1] != '/');
-}
-
-bool
-Path::is_directory() const {
- return (is_valid() && path[path.length()-1] == '/');
-}
-
}
// Include the truly platform-specific parts of this class.