MCPcopy Index your code
hub / github.com/microsoft/typescript-go / IsMissingPath

Method IsMissingPath

internal/compiler/program.go:1840–1844  ·  view source on GitHub ↗

Testing only

(path tspath.Path)

Source from the content-addressed store, hash-verified

1838
1839// Testing only
1840func (p *Program) IsMissingPath(path tspath.Path) bool {
1841 return slices.ContainsFunc(p.missingFiles, func(missingPath string) bool {
1842 return p.toPath(missingPath) == path
1843 })
1844}
1845
1846func (p *Program) ExplainFiles(w io.Writer, locale locale.Locale) {
1847 toRelativeFileName := func(fileName string) string {

Callers 1

OnProgramMethod · 0.80

Calls 1

toPathMethod · 0.95

Tested by

no test coverage detected