| 39 | static constexpr std::string_view kPath = "example_file"; |
| 40 | static constexpr std::string_view kContents = "hello world"; |
| 41 | static fs::FileInfo info() { |
| 42 | fs::FileInfo info; |
| 43 | info.set_path(std::string{kPath}); |
| 44 | info.set_type(fs::FileType::File); |
| 45 | info.set_size(kContents.size()); |
| 46 | return info; |
| 47 | } |
| 48 | |
| 49 | static Status NotFound(std::string_view path) { |
| 50 | return Status::IOError("Path does not exist '", path, "'"); |
no test coverage detected