MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / GraphEntity_ClearAttributes

Function GraphEntity_ClearAttributes

src/graph/entities/graph_entity.c:234–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234inline int GraphEntity_ClearAttributes
235(
236 GraphEntity *e
237) {
238 ASSERT(e != NULL);
239
240 int count = AttributeSet_Count(*e->attributes);
241
242 AttributeSet_Free(e->attributes);
243
244 return count;
245}

Callers

nothing calls this directly

Calls 2

AttributeSet_CountFunction · 0.85
AttributeSet_FreeFunction · 0.85

Tested by

no test coverage detected