Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
switchboard::FileUtils Struct Reference

Contains file manipulation utility methods. More...

#include <FileUtils.hpp>

Static Public Member Functions

static bool fileExists (const std::string &filePath)
 Check if a file exists.
 
static bool deleteFile (const std::string &filePath)
 Delete the file at filePath.
 

Detailed Description

Contains file manipulation utility methods.

FileUtils struct.

Member Function Documentation

◆ deleteFile()

bool switchboard::FileUtils::deleteFile ( const std::string &  filePath)
static

Delete the file at filePath.

Parameters
filePathPath to the file.
Returns
True if the file is deleted/non-existent.

◆ fileExists()

bool switchboard::FileUtils::fileExists ( const std::string &  filePath)
static

Check if a file exists.

Parameters
filePathPath to the file.
Returns
True if the file exists.

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