filesystem.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include <string>
13 #include "interop/util/cstdint.h"
14 
15 namespace illumina { namespace interop { namespace io
16 {
26  std::string combine(const std::string& path, const std::string& name);
37  std::string combine(const std::string& path1, const std::string& path2, const std::string& path3);
43  std::string basename(std::string const& source);
49  std::string dirname(std::string source);
55  bool is_file_readable(const std::string& filename);
62  bool mkdir(const std::string& path, const int mode=0733);
63 
71  ::int64_t file_size(const std::string& path);
72 }}}
73 
74 
Definition: enum_description.h:15
std::string basename(std::string const &source)
Definition: filesystem.cpp:95
std::string combine(const std::string &path, const std::string &name)
Definition: filesystem.cpp:39
bool is_file_readable(const std::string &filename)
Definition: filesystem.cpp:129
bool mkdir(const std::string &path, const int mode=0733)
Definition: filesystem.cpp:139
std::string dirname(std::string source)
Definition: filesystem.cpp:109
::int64_t file_size(const std::string &path)
Definition: filesystem.cpp:156