Hey <@U09M563C7>, I came across <this section of c...
# general
p
Hey @theopolis, I came across this section of code in the process_events.cpp
Copy code
if (stat(<http://row.at|row.at>("path").c_str(), &file_stat)) {
  // set ctime, atime, mtime
} else {
  VLOG(1) << "Failed to stat path: " << <http://row.at|row.at>("path");
  // set ctime, atime, mtime to 0
}
Shouldn’t it be
Copy code
if (!stat(<http://row.at|row.at>("path").c_str(), &file_stat)) { .. }
stat(2) returns 0 on success.