MCPcopy
hub / github.com/di-sukharev/opencommit / serializePath

Function serializePath

out/cli.cjs:4566–4575  ·  view source on GitHub ↗
(url2)

Source from the content-addressed store, hash-verified

4564 return result;
4565 }
4566 function serializePath(url2) {
4567 if (hasAnOpaquePath(url2)) {
4568 return url2.path;
4569 }
4570 let output = "";
4571 for (const segment of url2.path) {
4572 output += `/${segment}`;
4573 }
4574 return output;
4575 }
4576 module2.exports.serializeURL = serializeURL;
4577 module2.exports.serializePath = serializePath;
4578 module2.exports.serializeURLOrigin = function(url2) {

Calls 1

hasAnOpaquePathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…