MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / splitPathList

Function splitPathList

packages/native/scripts/build-native.mjs:6–11  ·  view source on GitHub ↗
(value, delim)

Source from the content-addressed store, hash-verified

4import { delimiter, join } from "node:path";
5
6function splitPathList(value, delim) {
7 return value
8 .split(delim)
9 .map((p) => p.trim().replace(/^"+|"+$/g, ""))
10 .filter(Boolean);
11}
12
13function envHasLib(env, libName) {
14 if (process.platform !== "win32") return true;

Callers 2

envHasLibFunction · 0.85
addToFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected