diff options
Diffstat (limited to 'common/utils.cc')
-rw-r--r-- | common/utils.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/common/utils.cc b/common/utils.cc index 0f3b6c65..3a89c2ab 100644 --- a/common/utils.cc +++ b/common/utils.cc @@ -492,11 +492,6 @@ bool IsSymlink(const char* path) { return lstat(path, &stbuf) == 0 && S_ISLNK(stbuf.st_mode) != 0; } -bool IsRegFile(const char* path) { - struct stat stbuf; - return lstat(path, &stbuf) == 0 && S_ISREG(stbuf.st_mode) != 0; -} - bool MakeTempFile(const string& base_filename_template, string* filename, int* fd) { |