summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfstools.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-24 17:04:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-24 17:04:47 +0300
commitd1b635ebf238fac5911fde8982d067ee4ffffe3a (patch)
tree788b6c6733550f5a54d5b3552a909a141af1223c /src/fs/virtfs/virtfstools.cpp
parent0835e09ee3a6c83ffa01454f2c05597e6195b07d (diff)
downloadmv-d1b635ebf238fac5911fde8982d067ee4ffffe3a.tar.gz
mv-d1b635ebf238fac5911fde8982d067ee4ffffe3a.tar.bz2
mv-d1b635ebf238fac5911fde8982d067ee4ffffe3a.tar.xz
mv-d1b635ebf238fac5911fde8982d067ee4ffffe3a.zip
Improve VirtFs::getDirs.
Diffstat (limited to 'src/fs/virtfs/virtfstools.cpp')
-rw-r--r--src/fs/virtfs/virtfstools.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/fs/virtfs/virtfstools.cpp b/src/fs/virtfs/virtfstools.cpp
index 12b261320..be634b89c 100644
--- a/src/fs/virtfs/virtfstools.cpp
+++ b/src/fs/virtfs/virtfstools.cpp
@@ -104,17 +104,6 @@ namespace VirtFs
std::sort(list.begin(), list.end());
}
- void getDirs(const std::string &path, StringVect &list)
- {
- VirtList *const fonts = VirtFs::enumerateFiles(path);
- FOR_EACH (StringVectCIter, i, fonts->names)
- {
- if (VirtFs::isDirectory(pathJoin(path, *i)))
- list.push_back(*i);
- }
- VirtFs::freeList(fonts);
- }
-
std::string getPath(const std::string &file)
{
// get the real path to the file