graph_analysis
Static Public Member Functions | List of all members
graph_analysis::utils::Filesystem Class Reference

#include <Filesystem.hpp>

Static Public Member Functions

static std::string validateProgramAvailability (const std::string &programName)
 
static bool programExists (const std::string &programName)
 
static void copy (const std::string &from, const std::string &to)
 

Member Function Documentation

◆ copy()

void graph_analysis::utils::Filesystem::copy ( const std::string &  from,
const std::string &  to 
)
static

◆ programExists()

bool graph_analysis::utils::Filesystem::programExists ( const std::string &  programName)
static

Test if a program exists using which <program>

◆ validateProgramAvailability()

std::string graph_analysis::utils::Filesystem::validateProgramAvailability ( const std::string &  programName)
static

Validates if a program exists, and throws otherwise

Returns
programName, if path to programName has been found

The documentation for this class was generated from the following files: