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

Function newCaches

internal/module/cache.go:64–72  ·  view source on GitHub ↗
(
	currentDirectory string,
	useCaseSensitiveFileNames bool,
	options *core.CompilerOptions,
)

Source from the content-addressed store, hash-verified

62}
63
64func newCaches(
65 currentDirectory string,
66 useCaseSensitiveFileNames bool,
67 options *core.CompilerOptions,
68) caches {
69 return caches{
70 packageJsonInfoCache: packagejson.NewInfoCache(currentDirectory, useCaseSensitiveFileNames),
71 }
72}
73
74func getRedirectConfigName(redirect ResolvedProjectReference) string {
75 if redirect == nil {

Callers 2

NewResolverFunction · 0.85
NewResolverWithOptionsFunction · 0.85

Calls 1

NewInfoCacheFunction · 0.92

Tested by

no test coverage detected