diff options
author | Tom Hubrecht <github@mail.hubrecht.ovh> | 2024-05-28 12:25:49 +0200 |
---|---|---|
committer | Tom Hubrecht <github@mail.hubrecht.ovh> | 2024-05-29 09:54:47 +0200 |
commit | 8cd9aa24a8d48caf22225ce32dff3c5aaa111687 (patch) | |
tree | 27ea642636e1e47d37053f5fd4d209e29f4a9149 /src/libutil/file-system.hh | |
parent | 6b5078c81554ddb36547f8c41805cc94b7738396 (diff) |
util.{hh,cc}: Split out file-descriptor.{hh,cc}
Change-Id: I0dd0f9a9c2003fb887e076127e7f825fd3289c76
Diffstat (limited to 'src/libutil/file-system.hh')
-rw-r--r-- | src/libutil/file-system.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libutil/file-system.hh b/src/libutil/file-system.hh index 1d91ef334..b9b753980 100644 --- a/src/libutil/file-system.hh +++ b/src/libutil/file-system.hh @@ -6,7 +6,7 @@ */ #include "types.hh" -#include "util.hh" +#include "file-descriptor.hh" #include <sys/types.h> #include <sys/stat.h> @@ -143,7 +143,6 @@ unsigned char getFileType(const Path & path); /** * Read the contents of a file into a string. */ -std::string readFile(int fd); std::string readFile(const Path & path); void readFile(const Path & path, Sink & sink); |