diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:09:04 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:09:04 +0000 |
commit | f558a8c9173598c5d8b5fa11214b975f848dbf92 (patch) | |
tree | 957aa478afaf23c2f578c2ac27e8006b26e12dc3 | |
parent | bc205191bf26bfa95d50bfac34f24c5a6f30eee6 (diff) |
Remove unused PBD::sys::exists function
git-svn-id: svn://localhost/ardour2/branches/3.0@12884 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/pbd/filesystem.cc | 6 | ||||
-rw-r--r-- | libs/pbd/pbd/filesystem.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/libs/pbd/filesystem.cc b/libs/pbd/filesystem.cc index 8915581bc5..7c76e5f053 100644 --- a/libs/pbd/filesystem.cc +++ b/libs/pbd/filesystem.cc @@ -64,12 +64,6 @@ path::operator/=(const char* rhs) } bool -exists (const path & p) -{ - return Glib::file_test (p.to_string(), Glib::FILE_TEST_EXISTS); -} - -bool is_directory (const path & p) { return Glib::file_test (p.to_string(), Glib::FILE_TEST_IS_DIR); diff --git a/libs/pbd/pbd/filesystem.h b/libs/pbd/pbd/filesystem.h index 7bedeadb23..3a3c09e258 100644 --- a/libs/pbd/pbd/filesystem.h +++ b/libs/pbd/pbd/filesystem.h @@ -103,9 +103,6 @@ public: inline path operator/ (const path& lhs, const path& rhs) { return path(lhs) /= rhs; } -/// @return true if path at p exists -bool exists(const path & p); - /// @return true if path at p is a directory. bool is_directory(const path & p); |