MCPcopy Create free account
hub / github.com/apache/arrow / info

Method info

cpp/examples/arrow/filesystem_definition_example.cc:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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, "'");

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected