Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/microsoft/typescript-go
/ GetSourceFiles
Method
GetSourceFiles
internal/compiler/program.go:1830–1832 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1828
}
1829
1830
func
(p *Program) GetSourceFiles() []*ast.SourceFile {
1831
return
p.files
1832
}
1833
1834
// Testing only
1835
func
(p *Program) GetIncludeReasons()
map
[tspath.Path][]*FileIncludeReason {
Callers
3
TestProgram
Function · 0.95
ExplainFiles
Method · 0.95
printProjectsDiff
Method · 0.95
Calls
no outgoing calls
Tested by
1
TestProgram
Function · 0.76