MCPcopy
hub / github.com/scottbez1/splitflap / clone

Method clone

thirdparty/panelize.py:1708–1714  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

1706 self.internal_layer_count = 0
1707
1708 def clone( self ):
1709 obj = Layers( self.obj_name )
1710 obj.layers = self.layers.copy()
1711 obj.names = self.names.copy()
1712 for layer in self.layers.values():
1713 self.layer_added( layer )
1714 return obj
1715
1716 def tag_start( self, factory, name ):
1717 obj = Layer( name )

Callers

nothing calls this directly

Calls 3

layer_addedMethod · 0.95
LayersClass · 0.85
copyMethod · 0.45

Tested by

no test coverage detected