MCPcopy Create free account
hub / github.com/3dugc/3D-Model-Optimizer / readObjectText

Method readObjectText

src/cloud/object-storage.ts:12–12  ·  view source on GitHub ↗
(object: CosObjectRef)

Source from the content-addressed store, hash-verified

10 providerName: 'local' | 'tencent';
11 toUri(object: CosObjectRef): string;
12 readObjectText(object: CosObjectRef): Promise<string>;
13 downloadObject(object: CosObjectRef, destinationPath: string): Promise<void>;
14 uploadObject(sourcePath: string, object: CosObjectRef): Promise<void>;
15 objectExists(object: CosObjectRef): Promise<boolean>;

Callers 2

cloud-jobs.tsFile · 0.65
readModelOptimizeReportFunction · 0.65

Implementers 2

LocalObjectStorageProvidersrc/cloud/object-storage.ts
TencentCosObjectStorageProvidersrc/cloud/object-storage.ts

Calls

no outgoing calls

Tested by

no test coverage detected