@dataset.sh/client
Version:
TypeScript client library for dataset.sh - A powerful dataset management system supporting both local and remote storage with seamless transfer capabilities.
13 lines • 485 B
TypeScript
import { RemoteClient } from './RemoteClient';
export declare class FileServerClient {
private client;
constructor(client: RemoteClient);
upload(filePath: string, namespace: string, datasetName: string, tags?: string[]): Promise<void>;
private negotiateUpload;
private uploadParts;
private uploadPart;
private completeUpload;
private calculateChecksum;
cancelUpload(cancelUrl: string): Promise<void>;
}
//# sourceMappingURL=FileServerClient.d.ts.map