Huggingface.js documentation
Arayüz: CopySource
@huggingface/inference
Inference Client KullanAPI referansı
Sınıflar
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
Arayüzler
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerSeçeneklerTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
Modüller
@huggingface/hub
Hub ile etkileşime girinAPI Referansı
Sınıflar
Arayüzler
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceKimlik BilgileriDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
Arayüz: CopySource
copyFile / copyFiles / copyFolder içinde bir dosyanın kaynak konumu.
Özellikler
path
• path: string
Kaynak depodaki dosyanın (veya copyFolder için klasörün) yolu. Tüm depoyu kopyalamak için copyFolder içinde boş bırakın.
Tanımlandığı yer
packages/hub/src/lib/copy-files.ts:44
repo
• repo: RepoDesignation
Tanımlandığı yer
packages/hub/src/lib/copy-files.ts:39
revizyon
• Optional revizyon: string
Kaynağın okunacağı Git revizyonu. Bucket kaynakları için yok sayılır.
Default
"main"Tanımlandığı yer
packages/hub/src/lib/copy-files.ts:50
Update on GitHub