Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 678102966
  • Loading branch information
tensorflower-gardener authored and tensorflow-copybara committed Sep 24, 2024
1 parent d89b272 commit 4decd0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ void CopyDirOrDie(const string& src_dir, const string& dst_dir) {
for (const string& child : children) {
const string child_path = io::JoinPath(dir, child);
StringPiece remainder = child_path;
CHECK(str_util::ConsumePrefix(&remainder, src_dir));
CHECK(absl::ConsumePrefix(&remainder, src_dir));
if (Env::Default()->IsDirectory(child_path).ok()) {
TF_ASSERT_OK(
Env::Default()->CreateDir(io::JoinPath(dst_dir, remainder)));
Expand Down

0 comments on commit 4decd0a

Please sign in to comment.