diff options
Diffstat (limited to 'include/armnnUtils/Filesystem.hpp')
-rw-r--r-- | include/armnnUtils/Filesystem.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/armnnUtils/Filesystem.hpp b/include/armnnUtils/Filesystem.hpp index 0d29a7558d..00da50f4f8 100644 --- a/include/armnnUtils/Filesystem.hpp +++ b/include/armnnUtils/Filesystem.hpp @@ -19,9 +19,16 @@ namespace armnnUtils namespace Filesystem { +using FileContents = std::string; + /// Returns a path to a file in the system temporary folder. If the file existed it will be deleted. fs::path NamedTempFile(const char* fileName); +/// Returns full path to temporary folder +std::string CreateDirectory(std::string sPath); + +FileContents ReadFileContentsIntoString(const std::string path); + } // namespace armnnUtils } // namespace Filesystem |