MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / equals

Method equals

source/core/StarDirectives.cpp:222–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222bool Directives::equals(Directives const& other) const {
223 return hash() == other.hash();
224}
225
226bool Directives::equals(String const& string) const {
227 auto directiveString = stringPtr();

Callers 1

operator==Function · 0.45

Calls 3

hashClass · 0.85
hashMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected