summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfsdir.h
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/virtfsdir.h
parent0835e09ee3a6c83ffa01454f2c05597e6195b07d (diff)
downloadmanaverse-d1b635ebf238fac5911fde8982d067ee4ffffe3a.tar.gz
manaverse-d1b635ebf238fac5911fde8982d067ee4ffffe3a.tar.bz2
manaverse-d1b635ebf238fac5911fde8982d067ee4ffffe3a.tar.xz
manaverse-d1b635ebf238fac5911fde8982d067ee4ffffe3a.zip
Improve VirtFs::getDirs.
Diffstat (limited to 'src/fs/virtfs/virtfsdir.h')
-rw-r--r--src/fs/virtfs/virtfsdir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfsdir.h b/src/fs/virtfs/virtfsdir.h
index 2a7829bb1..74bf569bf 100644
--- a/src/fs/virtfs/virtfsdir.h
+++ b/src/fs/virtfs/virtfsdir.h
@@ -58,6 +58,9 @@ namespace VirtFsDir
void getFiles(VirtFsEntry *restrict const entry,
const std::string &dirName,
StringVect &names);
+ void getDirs(VirtFsEntry *restrict const entry,
+ const std::string &dirName,
+ StringVect &names);
bool isDirectory(VirtFsEntry *restrict const entry,
const std::string &dirName,
bool &isDirFlag);