(cwd string)
| 273 | } |
| 274 | |
| 275 | func (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 | |
| 282 | func (d DocumentIdentifier) String() string { |
| 283 | if d.URI != "" { |
no test coverage detected