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

Function insert

packages/2d/src/lib/components/CodeBlock.ts:488–493  ·  view source on GitHub ↗
(content: Code)

Source from the content-addressed store, hash-verified

486 * @param content - The code to insert.
487 */
488export function insert(content: Code): CodeModification {
489 return {
490 from: '',
491 to: content,
492 };
493}
494
495/**
496 * Create a code modification that removes a piece of code.

Callers 1

code-block.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected