MCPcopy Create free account
hub / github.com/microsoft/typescript-go / ConfigFilePath

Method ConfigFilePath

internal/project/project.go:200–205  ·  view source on GitHub ↗

ConfigFilePath panics if Kind() is not KindConfigured.

()

Source from the content-addressed store, hash-verified

198
199// ConfigFilePath panics if Kind() is not KindConfigured.
200func (p *Project) ConfigFilePath() tspath.Path {
201 if p.Kind != KindConfigured {
202 panic("ConfigFilePath called on non-configured project")
203 }
204 return p.configFilePath
205}
206
207func (p *Project) Id() tspath.Path {
208 return p.configFilePath

Callers 3

TestRegistryLifecycleFunction · 0.80
setupLanguageServiceMethod · 0.80

Implementers 1

Projectinternal/project/project.go

Calls 1

panicFunction · 0.85

Tested by 2

TestRegistryLifecycleFunction · 0.64