Huggingface.js documentation

Interface: CommitFile

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: CommitFile

Properties

content

• content: ContentSource

Defined in

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


operation

• operation: "addOrUpdate"

Defined in

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


path

• path: string

Defined in

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

Update on GitHub