Searched refs:systemApiCachePath (Results 1 – 1 of 1) sorted by relevance
| /arkcompiler/ets_frontend/arkguard/src/initialization/ |
| D | ConfigResolver.ts | 228 …const systemApiCachePath: string = path.join(sourceObConfig.obfuscationCacheDir, 'systemApiCache.j… constant 229 if (isFileExist(systemApiCachePath)) { 230 this.getSystemApiConfigsByCache(mergedConfigs, systemApiCachePath); 233 this.getSystemApiCache(mergedConfigs, systemApiCachePath); 539 private getSystemApiCache(systemConfigs: MergedConfig, systemApiCachePath: string): void { 574 if (!fs.existsSync(path.dirname(systemApiCachePath))) { 575 fs.mkdirSync(path.dirname(systemApiCachePath), { recursive: true }); 577 fs.writeFileSync(systemApiCachePath, JSON.stringify(systemApiContent, null, 2)); 618 …private getSystemApiConfigsByCache(systemConfigs: MergedConfig, systemApiCachePath: string): void { 623 } = JSON.parse(fs.readFileSync(systemApiCachePath, 'utf-8'));
|