MCPcopy Create free account
hub / github.com/SplootCode/splootcode / clone

Method clone

packages/core/src/language/fragment.ts:47–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 }
46
47 clone(): SplootFragment {
48 return new SplootFragment(
49 this.nodes.map((node) => node.clone()),
50 this.nodeCategory
51 )
52 }
53
54 isSingle() {
55 return this.nodes.length == 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected