MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / join

Function join

src/utils/Path.js:85–88  ·  view source on GitHub ↗

* Joins the given number of paths * @param {...string} paths

(...paths)

Source from the content-addressed store, hash-verified

83 * @param {...string} paths
84 */
85 join(...paths) {
86 let res = paths.join("/");
87 return this.normalize(res);
88 },
89
90 /**
91 * Normalizes the given path, resolving '..' and '.' segments.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected