MCPcopy Create free account
hub / github.com/amrkmn/x / uploadCache

Function uploadCache

scripts/cache.ts:34–36  ·  view source on GitHub ↗
(key: string, sourcePath: string)

Source from the content-addressed store, hash-verified

32async function downloadCache(s3: S3Client, key: string, targetPath: string): Promise<number> {
33 return downloadFileFromS3(s3, key, targetPath);
34}
35
36async function uploadCache(key: string, sourcePath: string): Promise<number> {
37 return uploadFileToS3(key, sourcePath);
38}
39

Callers 1

saveCacheFunction · 0.85

Calls 1

uploadFileToS3Function · 0.90

Tested by

no test coverage detected