MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / pathKey

Function pathKey

out/cli.cjs:65912–65921  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

65910}
65911
65912// node_modules/npm-run-path/index.js
65913var import_node_process4 = __toESM(require("node:process"), 1);
65914var import_node_path = __toESM(require("node:path"), 1);
65915var import_node_url = require("node:url");
65916
65917// node_modules/npm-run-path/node_modules/path-key/index.js
65918function pathKey(options = {}) {
65919 const {
65920 env: env2 = process.env,
65921 platform = process.platform
65922 } = options;
65923 if (platform !== "win32") {
65924 return "PATH";

Callers 2

npmRunPathFunction · 0.85
npmRunPathEnvFunction · 0.85

Calls 2

toUpperCaseMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…