MCPcopy Create free account
hub / github.com/d1ll0n/stack-packer / clearCode

Method clearCode

src/code-gen/context.ts:60–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 }
59
60 clearCode() {
61 this.code = [];
62 if (!this.opts.constantsFile) {
63 this.constants = [];
64 }
65 this.functions = [];
66 }
67
68 addSection(title: string, code: ArrayJoinInput<string>[]) {
69 this.code.push('', ...toCommentSeparator(title))

Callers 1

createLibraryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected