(path tspath.Path)
| 1815 | } |
| 1816 | |
| 1817 | func (p *Program) GetSourceFileByPath(path tspath.Path) *ast.SourceFile { |
| 1818 | return p.filesByPath[path] |
| 1819 | } |
| 1820 | |
| 1821 | func (p *Program) HasSameFileNames(other *Program) bool { |
| 1822 | return maps.EqualFunc(p.filesByPath, other.filesByPath, func(a, b *ast.SourceFile) bool { |
no outgoing calls