MCPcopy Index your code
hub / github.com/nodejs/node / unfqdn

Function unfqdn

lib/tls.js:289–291  ·  view source on GitHub ↗
(host)

Source from the content-addressed store, hash-verified

287};
288
289function unfqdn(host) {
290 return host.replace(/[.]$/, '');
291}
292
293// String#toLowerCase() is locale-sensitive so we use
294// a conservative version that only lowercases A-Z.

Callers 2

splitHostFunction · 0.85
tls.jsFile · 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…