| 74 | } |
| 75 | |
| 76 | Status NotEmpty(std::string_view path) { |
| 77 | return Status::IOError("Directory not empty: '", path, "'") |
| 78 | .WithDetail(StatusDetailFromErrno(ENOTEMPTY)); |
| 79 | } |
| 80 | |
| 81 | Status NotAFile(std::string_view path) { |
| 82 | return Status::IOError("Not a regular file: '", path, "'"); |
nothing calls this directly
no test coverage detected