Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/di-sukharev/opencommit
/ isValidHeaderName
Function
isValidHeaderName
out/cli.cjs:72027–72027 ·
view source on GitHub ↗
(str2)
Source
from the content-addressed store, hash-verified
72025
const
tokens = /* @__PURE__ */ Object.create(null);
72026
const
tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
72027
let
match;
72028
while
(match = tokensRE.exec(str2)) {
72029
tokens[match[1]] = match[2];
72030
}
Callers
1
set
Method · 0.85
Calls
2
test
Method · 0.80
trim
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…