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

Function PathIsBareSpecifier

internal/modulespecifiers/util.go:42–44  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

40}
41
42func PathIsBareSpecifier(path string) bool {
43 return !tspath.PathIsAbsolute(path) && !tspath.PathIsRelative(path)
44}
45
46func IsExcludedByRegex(moduleSpecifier string, excludes []string) bool {
47 for _, pattern := range excludes {

Callers 3

GetModuleSpecifierMethod · 0.92
computeModuleSpecifiersFunction · 0.85

Calls 2

PathIsAbsoluteFunction · 0.92
PathIsRelativeFunction · 0.92

Tested by

no test coverage detected