summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfstools.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-24 03:35:02 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-24 04:35:35 +0300
commit0835e09ee3a6c83ffa01454f2c05597e6195b07d (patch)
treeb3b79b7a8f58f2ff18ec66b17d1c39ddad085e11 /src/fs/virtfs/virtfstools.cpp
parent55458f743c3ff7e42288bc08033481d8464dca62 (diff)
downloadmv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.gz
mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.bz2
mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.xz
mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.zip
Improve VirtFs::getFiles.
Diffstat (limited to 'src/fs/virtfs/virtfstools.cpp')
-rw-r--r--src/fs/virtfs/virtfstools.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/fs/virtfs/virtfstools.cpp b/src/fs/virtfs/virtfstools.cpp
index ca65bbdf2..12b261320 100644
--- a/src/fs/virtfs/virtfstools.cpp
+++ b/src/fs/virtfs/virtfstools.cpp
@@ -104,18 +104,6 @@ namespace VirtFs
std::sort(list.begin(), list.end());
}
- void getFiles(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);
- }
-
void getDirs(const std::string &path, StringVect &list)
{
VirtList *const fonts = VirtFs::enumerateFiles(path);