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

Method ToAbsoluteFileName

internal/api/proto.go:275–280  ·  view source on GitHub ↗
(cwd string)

Source from the content-addressed store, hash-verified

273}
274
275func (d DocumentIdentifier) ToAbsoluteFileName(cwd string) string {
276 if d.URI != "" {
277 return d.URI.FileName()
278 }
279 return tspath.GetNormalizedAbsolutePath(d.FileName, cwd)
280}
281
282func (d DocumentIdentifier) String() string {
283 if d.URI != "" {

Callers 2

handleUpdateSnapshotMethod · 0.80
handleParseConfigFileMethod · 0.80

Calls 2

FileNameMethod · 0.65

Tested by

no test coverage detected