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

Function trimTabAndNewline

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

Source from the content-addressed store, hash-verified

3971 return string.substring(start, end);
3972 }
3973 function trimTabAndNewline(url2) {
3974 return url2.replace(/\u0009|\u000A|\u000D/ug, "");
3975 }
3976 function shortenPath(url2) {
3977 const { path: path5 } = url2;
3978 if (path5.length === 0) {

Callers 1

URLStateMachineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…