Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/typescript-go
/ GetDirectoryPath
Method
GetDirectoryPath
internal/tspath/path.go:265–267 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
263
}
264
265
func
(p Path) GetDirectoryPath() Path {
266
return
Path(GetDirectoryPath(string(p)))
267
}
268
269
func
GetPathFromPathComponents(pathComponents []string) string {
270
if
len(pathComponents) == 0 {
Callers
10
getStringLiteralCompletionsFromModuleNamesWorker
Method · 0.80
IsPreparedForImportingFile
Method · 0.80
updateBucketAndDirectoryExistence
Method · 0.80
getNearestAncestorDirectoryWithPackageJson
Method · 0.80
search
Method · 0.80
DidChangeFiles
Method · 0.80
createResolutionLookupGlobMapper
Function · 0.80
newSnapshotFSBuilder
Function · 0.80
Finalize
Method · 0.80
SeenFileOrMissingParentDirectory
Method · 0.80
Calls
3
GetDirectoryPath
Function · 0.85
Path
TypeAlias · 0.70
string
Enum · 0.50
Tested by
no test coverage detected