Huggingface.js documentation
الواجهة: CopyDestination
@huggingface/inference
استخدام عميل الاستدلالمرجع الواجهة البرمجية
الفئات
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
الواجهات
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerخياراتTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
وحدات
@huggingface/hub
التفاعل مع Hubمرجع الواجهة البرمجية
الفئات
الواجهات
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceبيانات الاعتمادDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
الواجهة: CopyDestination
موقع الوجهة لـ copyFile / copyFolder.
يجب أن يكون المستودع الوجهة دلوًا — فالنسخ من جانب الخادم مدعوم حاليًا نحو الدلاء فقط.
الخصائص
path
• path: string
المسار الدقيق للوجهة داخل حاوية الوجهة. بالنسبة إلى copyFolder، يعمل كبادئة؛ اتركه فارغًا لنسخ المحتوى تحت جذر الحاوية.
معرّف في
packages/hub/src/lib/copy-files.ts:65
مستودع
• المستودع: BucketDesignation
معرّف في
packages/hub/src/lib/copy-files.ts:60
Update on GitHub