MCPcopy Index your code
hub / github.com/subquery/subql / removeKeyword

Function removeKeyword

packages/cli/src/controller/generate-controller.ts:57–59  ·  view source on GitHub ↗
(inputString: string)

Source from the content-addressed store, hash-verified

55export const DEFAULT_ABI_DIR = '/abis';
56
57export function removeKeyword(inputString: string): string {
58 return inputString.replace(/^(event|function) /, '');
59}
60
61/**
62 * Copies the provided ABI file to the default ABI directory in the project root.

Callers 2

getFragmentFormatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected