Join joins path elements with the project directory. This is a convenience method for constructing paths within the project.
(elem ...string)
| 85 | // Join joins path elements with the project directory. |
| 86 | // This is a convenience method for constructing paths within the project. |
| 87 | func (p *ProjectDir) Join(elem ...string) string { |
| 88 | return filepath.Join(append([]string{p.path}, elem...)...) |
| 89 | } |
| 90 | |
| 91 | // FileExists checks if a file exists in the project directory. |
| 92 | // The filename is relative to the project directory. |
no outgoing calls