MCPcopy
hub / github.com/github/docs / filterFiles

Function filterFiles

tests/linting/lint-files.js:321–324  ·  view source on GitHub ↗
(tuples)

Source from the content-addressed store, hash-verified

319 })
320 )
321 const filterFiles = (tuples) =>
322 tuples.filter(
323 ([relativePath, absolutePath]) => only.has(relativePath) || only.has(absolutePath)
324 )
325 mdToLint = filterFiles(mdToLint)
326 ymlToLint = filterFiles(ymlToLint)
327 ghesReleaseNotesToLint = filterFiles(ghesReleaseNotesToLint)

Callers 1

lint-files.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected