Home
last modified time | relevance | path

Searched refs:cachePath (Results 1 – 25 of 31) sorted by relevance

12

/third_party/node/deps/npm/node_modules/@sigstore/tuf/dist/
Dclient.js28 initTufCache(options.cachePath, options.rootPath);
29 const remote = initRemoteConfig(options.cachePath, options.mirrorURL);
30 this.updater = initClient(options.cachePath, remote, options);
45 function initTufCache(cachePath, tufRootPath) { argument
46 const targetsPath = path_1.default.join(cachePath, 'targets');
47 const cachedRootPath = path_1.default.join(cachePath, 'root.json');
48 if (!fs_1.default.existsSync(cachePath)) {
49 fs_1.default.mkdirSync(cachePath, { recursive: true });
57 return cachePath;
75 function initClient(cachePath, remote, options) { argument
[all …]
Dindex.js47 cachePath: options.cachePath || (0, appdata_1.appDataPath)(DEFAULT_CACHE_DIR), property
/third_party/node/deps/npm/lib/commands/
Dcache.js110 const cachePath = join(this.npm.cache, '_cacache') constant
128 return fs.rm(cachePath, { recursive: true, force: true })
133 entry = await cacache.get(cachePath, key)
139 await cacache.rm.entry(cachePath, key)
141 await cacache.rm.content(cachePath, entry.integrity)
191 const cachePath = join(this.npm.cache, '_cacache') constant
192 const cacheKeys = Object.keys(await cacache.ls(cachePath))
201 const keySet = await searchCachePackage(cachePath, parsed, cacheKeys)
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/tools/
Dgen-grammar.go63 cachePath = flag.String("cache", "", "Cache directory for downloaded files (optional)") var
201 if *cachePath != "" {
202 if err := os.MkdirAll(*cachePath, 0777); err == nil {
203 path := filepath.Join(*cachePath, name)
217 if *cachePath != "" {
218 ioutil.WriteFile(filepath.Join(*cachePath, name), data, 0777)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/tools/
Dgen-grammar.go63 cachePath = flag.String("cache", "", "Cache directory for downloaded files (optional)") var
201 if *cachePath != "" {
202 if err := os.MkdirAll(*cachePath, 0777); err == nil {
203 path := filepath.Join(*cachePath, name)
217 if *cachePath != "" {
218 ioutil.WriteFile(filepath.Join(*cachePath, name), data, 0777)
/third_party/spirv-tools/utils/vscode/src/tools/
Dgen-grammar.go63 cachePath = flag.String("cache", "", "Cache directory for downloaded files (optional)") var
201 if *cachePath != "" {
202 if err := os.MkdirAll(*cachePath, 0777); err == nil {
203 path := filepath.Join(*cachePath, name)
217 if *cachePath != "" {
218 ioutil.WriteFile(filepath.Join(*cachePath, name), data, 0777)
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/cache/
Dentry.js143 var matches = await cacache.index.compact(options.cachePath, cacheKey(request), (A, B) => {
198 await cacache.rm.entry(options.cachePath, key, { removeFully: true })
290 const cacheStream = cacache.put.stream(this.options.cachePath, this.key, cacheOpts)
306 await cacache.index.insert(this.options.cachePath, this.key, null, cacheOpts)
313 this.response.headers.set('x-local-cache', encodeURIComponent(this.options.cachePath))
343 this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize }
349 this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize }
374 response.headers.set('x-local-cache', encodeURIComponent(this.options.cachePath))
446 await cacache.index.insert(options.cachePath, this.key, this.entry.integrity, {
Dindex.js42 if (!options.cachePath) {
Dpolicy.js65 if (!options.cachePath) {
/third_party/typescript/src/typingsInstallerCore/
DtypingsInstaller.ts20 …function typingToFileName(cachePath: string, packageName: string, installTypingHost: InstallTyping…
22 …const result = resolveModuleName(packageName, combinePaths(cachePath, "index.d.ts"), { moduleResol…
27 …log.writeLine(`Failed to resolve ${packageName} in folder '${cachePath}': ${(e as Error).message}`…
156 if (req.cachePath) {
158 …this.log.writeLine(`Request specifies cache path '${req.cachePath}', loading cached information...…
160 this.processCacheLocation(req.cachePath);
187 …this.installTypings(req, req.cachePath || this.globalCachePath, discoverTypingsResult.cachedTyping…
319 …private installTypings(req: DiscoverTypings, cachePath: string, currentlyCachedTypings: string[], …
332 this.ensurePackageDirectoryExists(cachePath);
348 this.installTypingsAsync(requestId, scopedTypings, cachePath, ok => {
[all …]
/third_party/node/deps/npm/tap-snapshots/test/lib/utils/
Derror-message.js.test.cjs359 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":false,"cacheDes…
388 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":false,"cacheDes…
392 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":false,"cacheDes…
421 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":false,"cacheDes…
425 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":true,"cacheDest…
454 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":true,"cacheDest…
458 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":true,"cacheDest…
487 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":true,"cacheDest…
491 exports[`test/lib/utils/error-message.js TAP eacces/eperm {"windows":false,"loaded":true,"cachePath
520 exports[`test/lib/utils/error-message.js TAP eacces/eperm {"windows":false,"loaded":true,"cachePath
[all …]
/third_party/vk-gl-cts/scripts/khr_util/
Dregistry_cache.py150 cachePath = os.path.join(cacheDir, source.getCacheFilename())
152 if not checkFile(cachePath, source.checksum):
153 …fetchFile(cachePath, source.getRepo(), source.getRevision(), source.getFilename(), source.getCheck…
155 parsedReg = registry.parse(cachePath)
/third_party/typescript/src/testRunner/unittests/tsserver/
DtypingsInstaller.ts1102 const cachePath = "/a/cache/"; constant
1104 path: cachePath + "node_modules/@types/commander/index.d.ts",
1110 …super(host, { globalTypingsCacheLocation: cachePath, typesRegistry: createTypesRegistry("commander…
1139 const cachePath = "/a/cache"; constant
1141 path: cachePath + "/node_modules/@types/node/index.d.ts",
1145 path: cachePath + "/node_modules/@types/commander/index.d.ts",
1150 path: `${cachePath}/node_modules/@types/${emberComponentDirectory}/index.d.ts`,
1156 …super(host, { globalTypingsCacheLocation: cachePath, typesRegistry: createTypesRegistry("node", "c…
1186 const cachePath = `${tscWatch.projects}/a/cache`; constant
1193 … const typePath = (name: string): string => `${cachePath}/node_modules/@types/${name}/index.d.ts`;
[all …]
Dprojects.ts372 const cachePath = "/a/data"; constant
378 …teInstallTypingsRequest(proj, typeAcquisition, unresolvedImports || server.emptyArray, cachePath));
382 globalTypingsCacheLocation: cachePath
395 cachePath,
/third_party/node/deps/npm/node_modules/sigstore/dist/
Dsigstore.js85 cachePath: options.tufCachePath, property
99 cachePath: options.tufCachePath, property
118 cachePath: options.tufCachePath, property
131 cachePath: options.tufCachePath, property
/third_party/node/deps/npm/test/lib/utils/
Derror-message.js182 const runTest = (windows, loaded, cachePath, cacheDest) => async t => { argument
189 const path = `${cachePath ? cache : '/not/cache/dir'}/path`
204 for (const cachePath of [true, false]) {
206 const m = JSON.stringify({ windows, loaded, cachePath, cacheDest }) property
207 t.test(m, runTest(windows, loaded, cachePath, cacheDest))
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/
Doptions.js47 if (options.cacheManager && !options.cachePath) {
48 options.cachePath = options.cacheManager
/third_party/mindspore/test/unittest/
Dnnrt_delegate_unit_test.cpp118 std::string cachePath = "/data/local/tmp/"; variable
120 OH_AI_DeviceInfoAddExtension(nnrtDeviceInfo, "CachePath", cachePath.c_str(), cachePath.size());
/third_party/typescript/src/server/
DutilitiesPublic.ts34 …ition: TypeAcquisition, unresolvedImports: SortedReadonlyArray<string>, cachePath?: string): Disco…
43 cachePath,
/third_party/skia/tools/sk_app/
DMetalWindowContext.mm35 NSURL* cachePath = [paths objectAtIndex:0];
36 return [cachePath URLByAppendingPathComponent:@"binaryArchive.metallib"];
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/run-cts/
Dmain.go213 cachePath := dawnNode + ".runcts.cache"
214 if err := cache.load(cachePath); err != nil && verbose {
215 fmt.Println("failed to load cache from", cachePath, err)
217 defer cache.save(cachePath)
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/regres/
Dmain.go575 cachePath := test.resultsCachePath(testlists, d)
577 if results, err := deqp.LoadResults(cachePath); err == nil {
585 if err := results.Save(cachePath); err != nil {
586 log.Printf("Warning: Couldn't save results of test to '%v'\n", cachePath)
597 cachePath := test.resultsCachePath(testlists, d)
599 if results, err := deqp.LoadResults(cachePath); err == nil {
612 if err := results.Save(cachePath); err != nil {
613 log.Printf("Warning: Couldn't save results of test to '%v'\n", cachePath)
/third_party/typescript/src/jsTyping/
Dtypes.ts20 readonly cachePath?: string; property
/third_party/node/deps/npm/node_modules/npm-registry-fetch/lib/
Dindex.js113 cachePath: opts.cache, property
/third_party/node/deps/npm/test/lib/commands/
Daudit.js930 cachePath: path.join(npm.cache, '_tuf'), property

12