#
Interface: CommitEditFile

Opitmized when only the beginning or the end of the file is replaced

todo: handle other cases

##
Properties

###
edits

• edits: { `content`: `Blob` ; `end`: `number` ; `start`: `number` }[]

####
Defined in

packages/hub/src/lib/commit.ts:57

###
operation

• operation: `"edit"`

####
Defined in

packages/hub/src/lib/commit.ts:53

###
originalContent

• originalContent: `Blob`

Later, will be ContentSource. For now simpler to just handle blobs

####
Defined in

packages/hub/src/lib/commit.ts:56

###
path

• path: `string`

####
Defined in

packages/hub/src/lib/commit.ts:54

< > Update on GitHub