MCPcopy Create free account
hub / github.com/Snapchat/Valdi / clear

Method clear

valdi_core/src/valdi_core/cpp/Utils/Marshaller.cpp:88–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void Marshaller::clear() {
89 popCount(size());
90 _exceptionTracker.clearError();
91 _currentSchema = ValueSchema::untyped();
92}
93
94int Marshaller::mergeMaps(int leftIndex, int rightIndex) {
95 auto newMapIndex = pushMap(0);

Callers

nothing calls this directly

Calls 2

clearErrorMethod · 0.80
sizeFunction · 0.50

Tested by

no test coverage detected