ngscopeclient 0.1-dev+51fbda87c
|
Implementation of common file system utilities. More...
#include "FileSystem.h"
#include <glob.h>
#include <stdlib.h>
#include <fcntl.h>
#include <ftw.h>
#include <stdio.h>
Functions | |
vector< string > | Glob (const string &pathPattern, bool onlyDirectories) |
Find files matching a filter expression. More... | |
void | RemoveDirectory (const string &basePath) |
Deletes a directory. More... | |
Implementation of common file system utilities.
vector< string > Glob | ( | const string & | pathPattern, |
bool | onlyDirectories | ||
) |
Find files matching a filter expression.
pathPattern | Search expression |
onlyDirectories | If true, return only directories and not normal files |
void RemoveDirectory | ( | const string & | basePath | ) |
Deletes a directory.
basePath | Path of the directory |