filesystem.cpp File Reference
#include "interop/util/filesystem.h"
#include <sys/stat.h>
#include <algorithm>
#include <fstream>

Classes

struct  match_path_sep
 

Namespaces

 illumina
 
 illumina::interop
 
 illumina::interop::io
 
 illumina::interop::io::detail
 

Macros

#define INTEROP_OS_SEP   '/'
 

Functions

std::string combine (const std::string &path, const std::string &name)
 
std::string combine (const std::string &path1, const std::string &path2, const std::string &path3)
 
std::string basename (std::string const &source)
 
std::string dirname (std::string source)
 
bool is_file_readable (const std::string &filename)
 
bool mkdir (const std::string &path, const int mode=0733)
 
::int64_t file_size (const std::string &path)
 

Detailed Description

Filesystem utility functions

This header provides facilities to manipulate files, directories and the paths that identify them.

Date
8/9/15
Version
1.0

Macro Definition Documentation

#define INTEROP_OS_SEP   '/'

Platform dependent path separator