ArmNN
 25.11
Loading...
Searching...
No Matches
Filesystem.hpp File Reference
#include <ghc/filesystem.hpp>
#include <string>
Include dependency graph for Filesystem.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  armnnUtils
namespace  armnnUtils::Filesystem

Typedefs

using FileContents = std::string

Functions

fs::path NamedTempFile (const char *fileName)
 Returns a path to a file in the system temporary folder. If the file existed it will be deleted.
std::string CreateDirectory (std::string sPath)
 Returns full path to temporary folder.
FileContents ReadFileContentsIntoString (const std::string &path)
void RemoveDirectoryAndContents (const std::string &path)
 Remove a directory and its contents.