MCPcopy Create free account
hub / github.com/ByConity/ByConity / callOnNestedSimpleTypes

Function callOnNestedSimpleTypes

src/DataTypes/transformTypesRecursively.cpp:166–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void callOnNestedSimpleTypes(DataTypePtr & type, std::function<void(DataTypePtr &)> callback)
167{
168 DataTypes types = {type};
169 transformTypesRecursively(types, [callback](auto & data_types, TypeIndexesSet &){ callback(data_types[0]); }, {});
170}
171
172}

Callers

nothing calls this directly

Calls 2

callbackFunction · 0.85

Tested by

no test coverage detected