diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/FileUtil.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/FileUtil.hpp b/include/FileUtil.hpp index 0108b24..f2a1799 100644 --- a/include/FileUtil.hpp +++ b/include/FileUtil.hpp @@ -61,7 +61,7 @@ namespace sibs void walkDirFiles(const _tinydir_char_t *directory, FileWalkCallbackFunc callbackFunc); bool walkDirFilesRecursive(const _tinydir_char_t *directory, FileWalkCallbackFunc callbackFunc); bool walkDirFilesRecursiveSortTimestamp(const _tinydir_char_t *directory, SortedFileWalkCallbackFunc callbackFunc); - Result<StringView> getFileContent(const _tinydir_char_t *filepath); + Result<std::string> getFileContent(const _tinydir_char_t *filepath); Result<bool> fileWrite(const _tinydir_char_t *filepath, StringView data); Result<bool> fileOverwrite(const _tinydir_char_t *filepath, StringView data); Result<FileString> getHomeDir(); |