MCPcopy Create free account
hub / github.com/deepnote/deepnote / isChangedBlock

Function isChangedBlock

packages/cli/src/commands/diff.ts:38–40  ·  view source on GitHub ↗
(block: BlockDiff)

Source from the content-addressed store, hash-verified

36type ChangedBlockDiff = BlockDiff & { status: 'added' | 'removed' | 'modified' }
37
38function isChangedBlock(block: BlockDiff): block is ChangedBlockDiff {
39 return block.status !== 'unchanged'
40}
41
42interface DiffResult {
43 file1: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected