Huggingface.js documentation

Arayüz: CopyDestination

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Arayüz: CopyDestination

copyFile / copyFolder için hedef konum.

Hedef depo bir bucket olmalıdır — sunucu tarafı kopyalama şu anda yalnızca bucket'lara doğru desteklenmektedir.

Özellikler

path

• path: string

Hedef kovadaki tam hedef yolu. copyFolder için bir önek olarak çalışır; kovanın kökü altında kopyalamak için boş bırakın.

Tanımlandığı yer

packages/hub/src/lib/copy-files.ts:65


repo

• repo: BucketDesignation

Tanımlandığı yer

packages/hub/src/lib/copy-files.ts:60

Update on GitHub