MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / print_path

Function print_path

examples/cpp_api/object.cc:51–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49using namespace tiledb;
50
51void print_path(const std::string& path, tiledb::Object::Type type) {
52 // Simply print the path and type
53 std::cout << path << " ";
54 switch (type) {
55 case tiledb::Object::Type::Array:
56 std::cout << "ARRAY";
57 break;
58 case tiledb::Object::Type::Group:
59 std::cout << "GROUP";
60 break;
61 default:
62 std::cout << "INVALID";
63 }
64 std::cout << "\n";
65}
66
67int list_obj(const std::string& path) {
68 // Create TileDB context

Callers 1

list_objFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected