MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / headerOrBlankLine

Function headerOrBlankLine

packages/cli/generators/copyright/header.js:188–190  ·  view source on GitHub ↗
(line, patterns)

Source from the content-addressed store, hash-verified

186}
187
188function headerOrBlankLine(line, patterns) {
189 return BLANK.test(line) || patterns.some(pat => pat.test(line));
190}
191
192/**
193 * Update file headers for the given project

Callers 1

mergeHeaderWithContentFunction · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected