Home
last modified time | relevance | path

Searched refs:cacheFilePath (Results 1 – 5 of 5) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/
Dbundle_mode.ts58 cacheFilePath: string; property
125 const cacheFilePath: string = value.cacheFilePath; constant
126 const cacheAbcFilePath: string = changeFileExtension(cacheFilePath, EXTNAME_ABC);
127 if (!fs.existsSync(cacheFilePath)) {
128 this.throwArkTsCompilerError(`ArkTS:ERROR ${cacheFilePath} is lost`);
131 const hashCacheFileContentData: any = toHashData(cacheFilePath);
133 if (jsonObject[cacheFilePath] === hashCacheFileContentData &&
135 updatedJsonObject[cacheFilePath] = hashCacheFileContentData;
179 const cacheFilePath: string = info.cacheFilePath; constant
183 const abcFilePath: string = changeFileExtension(cacheFilePath, EXTNAME_ABC);
[all …]
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_mode.ts88 cacheFilePath: string; property in ModuleInfo
94 …constructor(filePath: string, cacheFilePath: string, isCommonJs: boolean, recordName: string, sour…
98 this.cacheFilePath = cacheFilePath;
124 cacheFilePath: string; property in ModuleMode
144 this.cacheFilePath = path.join(this.projectConfig.cachePath, MODULES_CACHE);
257 let cacheFilePath: string =
268 cacheFilePath = changeFileExtension(cacheFilePath, extName);
271 cacheFilePath = toUnixPath(cacheFilePath);
276 …moduleInfos.set(filePath, new ModuleInfo(filePath, cacheFilePath, isCommonJs, recordName, sourceFi…
344 this.cmdArgs.push(`"@${this.cacheFilePath}"`);
[all …]
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dgen_abc.ts36 const cacheFilePath: string = inputPaths[i].cacheFilePath; constant
37 const cacheAbcFilePath: string = changeFileExtension(cacheFilePath, EXTNAME_ABC);
39 …const singleCmd: any = `${cmd} "${cacheFilePath}" -o "${cacheAbcFilePath}" --source-file "${source…
59 …content += `${info.cacheFilePath};${info.recordName};${moduleType};${info.sourceFile};${info.packa…
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dutils.ts72 function removeCacheFile(cacheFilePath: string, ext: string): void {
73 let filePath = toUnixPath(changeFileExtension(cacheFilePath, ext));
81 let cacheFilePath: string = path.join(projectConfig.cachePath, sufStr);
84 removeCacheFile(cacheFilePath, EXTNAME_TS);
91 removeCacheFile(cacheFilePath, hasTsNoCheckOrTsIgnore ? EXTNAME_TS : EXTNAME_JS);
95 cacheFilePath = toUnixPath(changeFileExtension(cacheFilePath, EXTNAME_JS));
96 return fs.existsSync(cacheFilePath);
/developtools/ace_ets2bundle/compiler/src/
Dgen_merged_abc.ts85 …FilesInfo(moduleInfos: Array<ModuleInfo>, npmEntriesInfoPath: string, cacheFilePath: string): void…
100 fs.writeFileSync(cacheFilePath, abcCacheFilesInfo, 'utf-8');
109 const cacheFilePath: string = path.join(process.env.cachePath, MODULES_CACHE); constant
110 validateFilePathLength(cacheFilePath, logger);
111 generateAbcCacheFilesInfo(moduleInfos, npmEntriesInfoPath, cacheFilePath);
128 genAbcCmd += ` --cache-file "@${cacheFilePath}"`;