String returns the string representation of the WorkingDir.
()
| 54 | |
| 55 | // String returns the string representation of the WorkingDir. |
| 56 | func (m WorkingDir) Path() string { |
| 57 | // Instead of the zero value, use defaultWorkingDir. |
| 58 | if m.base == "" { |
| 59 | return defaultWorkingDirBase |
| 60 | } |
| 61 | return m.base |
| 62 | } |
| 63 | |
| 64 | // Built is a file that is created in the workspace |
| 65 | // when envbuilder has already been run. This is used |
no outgoing calls