MCPcopy
hub / github.com/midrender/revideo / replace

Function replace

packages/2d/src/lib/code/CodeFragment.ts:77–82  ·  view source on GitHub ↗
(before: string, after: string)

Source from the content-addressed store, hash-verified

75 * @param after - The code to change to.
76 */
77export function replace(before: string, after: string): RawCodeFragment {
78 return {
79 before,
80 after,
81 };
82}
83
84/**
85 * Create a code fragment that represents a removal of code.

Callers 1

replaceTweenMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected