Go to the documentation of this file.
21 #ifndef __fileSystem_hpp__
22 #define __fileSystem_hpp__
43 std::ostream&
operator <<
52 const fileSystem& fs1,
58 const fileSystem& fs1,
87 return fileSystem(std::filesystem::current_path().c_str());
102 fileSystem(
const char* dir,
const char* file =
"");
fileSystem canonical() const
friend fileSystem operator/(const fileSystem &fs1, const fileSystem &fs2)
void operator/=(const fileSystem &fs)
void operator+=(const word &fileName)
fileSystem operator()(bool retDir=true) const
fileSystemList containingFiles(const fileSystem &path)
fileSystem & operator=(const fileSystem &)=default
bool isRegularFile(const fileSystem &path)
fileSystemList subDirectories(const fileSystem &path)
static word notPermittedCharsFile
const pathType & path() const
fileSystem dirPath() const
std::filesystem::path path_
bool isDirectory(const fileSystem &path)
fileSystem absolute() const
static bool validFileName(const word &name)
static bool checkFileName(const word &name)
List< fileSystem > fileSystemList
friend iOstream & operator<<(iOstream &os, fileSystem fs)
std::filesystem::path pathType
fileSystem createDirs() const