diff options
author | Tianjie Xu <xunchang@google.com> | 2021-01-30 22:00:45 +0000 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2021-01-30 22:01:19 +0000 |
commit | 195d0a9e38a6f53ab2756b91f5cdda2ec466a356 (patch) | |
tree | 1173db93bffda2cf3bdbdeedc759548c003d1163 /common/utils.cc | |
parent | 2e3cdae869b4bc6ca5070b9dcd11fb737016ceb9 (diff) |
Revert "Pass apex_info.pb file to delta_generator"
This reverts commit 4e5da3e9d7459e3d983db943ebf3cb4c36af9c60.
Reason for revert: b/178908708
Change-Id: I616da64ffda5b94044f3493861d6d01aebfaad61
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) { |