toPath converts a file name to a normalized path.
(fileName string)
| 2900 | |
| 2901 | // toPath converts a file name to a normalized path. |
| 2902 | func (s *Session) toPath(fileName string) tspath.Path { |
| 2903 | return tspath.ToPath(fileName, s.projectSession.GetCurrentDirectory(), s.projectSession.FS().UseCaseSensitiveFileNames()) |
| 2904 | } |
| 2905 | |
| 2906 | // toFileChangeSummary converts API file changes to a project.FileChangeSummary. |
| 2907 | func (s *Session) toFileChangeSummary(changes *APIFileChanges) project.FileChangeSummary { |