MCPcopy Create free account
hub / github.com/Snapchat/Valdi / appendImport

Method appendImport

compiler/companion/src/ObjectiveCWriter.ts:33–40  ·  view source on GitHub ↗
(importPath: string)

Source from the content-addressed store, hash-verified

31 private didAddImport = false;
32
33 appendImport(importPath: string): boolean {
34 if (!this.didAddImport) {
35 this.didAddImport = true;
36 this.append(this.imports);
37 }
38
39 return this.imports.append(importPath);
40 }
41}

Callers 1

generateIOSIdsFunction · 0.95

Calls 1

appendMethod · 0.65

Tested by

no test coverage detected