# Interface: CommitFile

## Properties

### content

• **content**: [`ContentSource`](../modules#contentsource)

#### Defined in[[content.defined-in]]

[packages/hub/src/lib/commit.ts:43](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/commit.ts#L43)

___

### operation

• **operation**: ``"addOrUpdate"``

#### Defined in[[operation.defined-in]]

[packages/hub/src/lib/commit.ts:41](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/commit.ts#L41)

___

### path

• **path**: `string`

#### Defined in[[path.defined-in]]

[packages/hub/src/lib/commit.ts:42](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/commit.ts#L42)


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/hub/interfaces/CommitFile.md" />