MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / copy_identifier

Method copy_identifier

src/geode/basic/identifier.cpp:171–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 void Identifier::copy_identifier(
172 const Identifier& other, IdentifierKey /*unused*/ )
173 {
174 if( const auto name = other.name() )
175 {
176 set_name( name.value() );
177 }
178 set_id( other.id() );
179 }
180
181 void Identifier::set_id( const uuid& unique_id )
182 {

Callers 15

cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45

Calls 2

nameMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected