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

Function NewConfiguredProject

internal/project/project.go:92–99  ·  view source on GitHub ↗
(
	configFileName string,
	configFilePath tspath.Path,
	builder *ProjectCollectionBuilder,
	logger *logging.LogTree,
)

Source from the content-addressed store, hash-verified

90var _ ls.Project = (*Project)(nil)
91
92func NewConfiguredProject(
93 configFileName string,
94 configFilePath tspath.Path,
95 builder *ProjectCollectionBuilder,
96 logger *logging.LogTree,
97) *Project {
98 return NewProject(configFileName, KindConfigured, tspath.GetDirectoryPath(configFileName), builder, logger)
99}
100
101func NewInferredProject(
102 currentDirectory string,

Callers 1

findOrCreateProjectMethod · 0.85

Calls 2

GetDirectoryPathFunction · 0.92
NewProjectFunction · 0.85

Tested by

no test coverage detected