MCPcopy Create free account
hub / github.com/angular/dev-infra / findInPath

Function findInPath

github-actions/bazel/configure-remote/configure-remote.js:20009–20049  ·  view source on GitHub ↗
(tool)

Source from the content-addressed store, hash-verified

20007 /**
20008 * Adds an HTML anchor tag to the summary buffer
20009 *
20010 * @param {string} text link text/content
20011 * @param {string} href hyperlink
20012 *
20013 * @returns {Summary} summary instance
20014 */
20015 addLink(text, href) {
20016 const element = this.wrap("a", text, { href });
20017 return this.addRaw(element).addEOL();
20018 }
20019 };
20020 var _summary = new Summary();
20021
20022 //
20023 var platform_exports = {};
20024 __export(platform_exports, {
20025 arch: () => arch,
20026 getDetails: () => getDetails,
20027 isLinux: () => isLinux,
20028 isMacOS: () => isMacOS,
20029 isWindows: () => isWindows,
20030 platform: () => platform
20031 });
20032 var import_os2 = __toESM(__require("os"));
20033
20034 //
20035 var import_string_decoder = __require("string_decoder");
20036
20037 //
20038 var os3 = __toESM(__require("os"));
20039 var events = __toESM(__require("events"));
20040 var child = __toESM(__require("child_process"));
20041 var path3 = __toESM(__require("path"));
20042
20043 //
20044 var path2 = __toESM(__require("path"));
20045
20046 //
20047 var fs2 = __toESM(__require("fs"));
20048 var path = __toESM(__require("path"));
20049 var __awaiter2 = function(thisArg, _arguments, P, generator) {
20050 function adopt(value) {
20051 return value instanceof P ? value : new P(function(resolve2) {
20052 resolve2(value);

Callers 1

whichFunction · 0.70

Calls 4

__awaiter3Function · 0.70
isRootedFunction · 0.70
tryGetExecutablePathFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected