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

Function addInputFile

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

Source from the content-addressed store, hash-verified

1918}
1919
1920function addInputFile(files: Set<string>, filename: string) {
1921 const normalized = path.resolve(filename)
1922 if (fs.existsSync(normalized) && fs.statSync(normalized).isFile()) {
1923 files.add(normalized)
1924 }
1925}
1926
1927/**
1928 * Computes the cache key for the configured JSDoc extraction inputs.

Callers 1

computeJSDocInputHashFunction · 0.85

Calls 2

resolveMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected