summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-07-20 16:11:56 +0200
committerTor Egge <Tor.Egge@online.no>2023-07-20 16:11:56 +0200
commit509ea4b6f4b49488f1ed02d728650a6890af96b1 (patch)
treefeda732474fb1f845298879f1bc04e09b01c5dc1 /vespalib
parent8299e786be93e412360bcc3b44ab73a322a6a4da (diff)
Remove declaration of vespalib::isDirectory.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/io/fileutil.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/vespalib/src/vespa/vespalib/io/fileutil.h b/vespalib/src/vespa/vespalib/io/fileutil.h
index 9a55edb88d7..0d1f5ea7543 100644
--- a/vespalib/src/vespa/vespalib/io/fileutil.h
+++ b/vespalib/src/vespa/vespalib/io/fileutil.h
@@ -242,14 +242,6 @@ extern inline off_t getFileSize(const vespalib::string & path) {
}
/**
- * Check if a file is a directory or not.
- *
- * @return True if it is a directory, false if it don't exist or isn't.
- * @throw IoException If we failed to stat the file.
- */
-extern bool isDirectory(const vespalib::string & path);
-
-/**
* List the contents of the given directory.
*/
using DirectoryList = std::vector<vespalib::string>;