MCPcopy Create free account
hub / github.com/Effect-TS/effect / addInputFile

Function addInputFile

packages/tools/jsdocs/src/Jsdocs.ts:1869–1874  ·  view source on GitHub ↗
(files: Set<string>, filename: string)

Source from the content-addressed store, hash-verified

1867}
1868
1869function addInputFile(files: Set<string>, filename: string) {
1870 const normalized = path.resolve(filename)
1871 if (fs.existsSync(normalized) && fs.statSync(normalized).isFile()) {
1872 files.add(normalized)
1873 }
1874}
1875
1876/**
1877 * Computes the cache key for the configured JSDoc extraction inputs.

Callers 1

computeJSDocInputHashFunction · 0.85

Calls 1

addMethod · 0.65

Tested by

no test coverage detected