| 69 | } |
| 70 | |
| 71 | Status NotADir(std::string_view path) { |
| 72 | return Status::IOError("Not a directory: '", path, "'") |
| 73 | .WithDetail(StatusDetailFromErrno(ENOTDIR)); |
| 74 | } |
| 75 | |
| 76 | Status NotEmpty(std::string_view path) { |
| 77 | return Status::IOError("Directory not empty: '", path, "'") |
nothing calls this directly
no test coverage detected