ConfigFilePath panics if Kind() is not KindConfigured.
()
| 198 | |
| 199 | // ConfigFilePath panics if Kind() is not KindConfigured. |
| 200 | func (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 | |
| 207 | func (p *Project) Id() tspath.Path { |
| 208 | return p.configFilePath |