resolveRelativeTo makes a path absolute relative to a base directory.
(path, base string)
| 215 | |
| 216 | // resolveRelativeTo makes a path absolute relative to a base directory. |
| 217 | func resolveRelativeTo(path, base string) string { |
| 218 | if filepath.IsAbs(path) { |
| 219 | return filepath.Clean(path) |
| 220 | } |
| 221 | return filepath.Clean(filepath.Join(base, path)) |
| 222 | } |
| 223 | |
| 224 | // loadProjectPhases reads phases from a project's .taskmd.yaml. |
| 225 | func loadProjectPhases(projectPath string) []web.PhaseInfo { |
no outgoing calls
no test coverage detected