| 59 | } |
| 60 | |
| 61 | Status PathNotFound(std::string_view path) { |
| 62 | return Status::IOError("Path does not exist '", path, "'") |
| 63 | .WithDetail(StatusDetailFromErrno(ENOENT)); |
| 64 | } |
| 65 | |
| 66 | Status IsADir(std::string_view path) { |
| 67 | return Status::IOError("Is a directory: '", path, "'") |
nothing calls this directly
no test coverage detected