ManaPlus
Namespaces | Functions
tools.cpp File Reference

(986a3bf)

#include "fs/virtfs/tools.h"
#include "logger.h"
#include "fs/paths.h"
#include "fs/virtfs/fs.h"
#include "fs/virtfs/list.h"
#include "utils/foreach.h"
#include "utils/stringutils.h"
#include <algorithm>
#include <sstream>
#include "debug.h"

Go to the source code of this file.

Namespaces

 VirtFs
 

Functions

void VirtFs::searchAndAddArchives (const std::string &path, const std::string &ext, const Append append)
 
void VirtFs::searchAndRemoveArchives (const std::string &path, const std::string &ext)
 
void VirtFs::getFilesInDir (const std::string &dir, StringVect &list, const std::string &ext)
 
std::string VirtFs::getPath (const std::string &file)
 
std::string VirtFs::loadTextFileString (const std::string &fileName)
 
bool VirtFs::loadTextFile (const std::string &fileName, StringVect &lines)