FOSSology  4.4.0
Open Source License Compliance by Open Source Software
files.cc File Reference

Utility functions for file handling. More...

#include "files.hpp"
#include <fstream>
#include <sys/stat.h>
#include <sstream>
Include dependency graph for files.cc:

Go to the source code of this file.

Namespaces

 fo
 fo namespace holds the FOSSology library functions.
 

Functions

std::string fo::getStringFromFile (const char *filename, const unsigned long int maximumBytes)
 Reads the content of a file and return it as a string. More...
 
std::string fo::getStringFromFile (std::string const &filename, const unsigned long int maximumBytes)
 

Detailed Description

Utility functions for file handling.

Definition in file files.cc.