Giri's C++ Support Library
C++ library providing everything you need to quickly create awesome applications.
FileSystem.h File Reference

Contains FileSystem I/O functions. More...

#include "Exception.h"
#include <vector>
#include <fstream>
#include <filesystem>
#include <future>
#include <iostream>
Include dependency graph for FileSystem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  giri::FileSystem::FileSystemException
 Exception to be thrown on FileSystem errors. More...
 

Namespaces

 giri
 Namespace for giri's C++ support library.
 
 giri::FileSystem
 Namespace containing FileSystem I/O commands.
 

Functions

std::vector< char > giri::FileSystem::LoadFile (const std::filesystem::path &file)
 
bool giri::FileSystem::WriteFile (const std::filesystem::path &file, const std::vector< char > &data)
 
std::filesystem::path giri::FileSystem::FindExecutableInPath (const std::string &executable)
 
std::string giri::FileSystem::ExecuteSync (const std::string &cmd)
 
std::future< void > giri::FileSystem::ExecuteAsync (const std::string &cmd, std::ostream &ostr=std::cout)
 

Detailed Description

Contains FileSystem I/O functions.

Author
Daniel Giritzer