CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxFileHelpers.cpp File Reference
#include "cxFileHelpers.h"
#include <QFile>
#include <QDir>
#include <QFileInfo>
#include <QTextStream>
#include "cxLogger.h"

Go to the source code of this file.

Namespaces

 cx
 Namespace for all CustusX production code.
 

Functions

bool cx::copyRecursively (QString sourceDir, QString destinationDir, bool overWriteDirectory)
 
bool cx::removeNonemptyDirRecursively (const QString &dirName)
 
QFileInfoList cx::getDirs (QString path)
 
QStringList cx::getAbsolutePathToFiles (QString path, QStringList nameFilters, bool includeSubDirs)
 
QStringList cx::getAbsolutePathToXmlFiles (QString path, bool includeSubDirs)
 
void cx::forceNewlineBeforeEof (QString path)