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

Function remove

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

Source from the content-addressed store, hash-verified

501 * @param content - The code to remove.
502 */
503export function remove(content: Code): CodeModification {
504 return {
505 from: content,
506 to: '',
507 };
508}
509
510/**
511 * Create a code modification that changes one piece of code into another.

Callers 1

code-block.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected