MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / duplicate_chain

Method duplicate_chain

scratchattach/editor/block.py:559–560  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

557 return attaching_block
558
559 def duplicate_chain(self) -> Block:
560 return self.bottom_level_block.attach_chain(*map(Block.dcopy, self.attached_chain))
561
562 def slot_above(self, new: Block) -> Block:
563 """

Callers

nothing calls this directly

Calls 2

mapFunction · 0.85
attach_chainMethod · 0.80

Tested by

no test coverage detected