Path returns the path to the temporary directory joined by the elements provided.
(elem ...string)
| 12 | |
| 13 | // Path returns the path to the temporary directory joined by the elements provided. |
| 14 | func (c TmpDir) Path(elem ...string) string { |
| 15 | return path.Join(append([]string{c.path}, elem...)...) |
| 16 | } |
| 17 | |
| 18 | // Clean removes the TmpDir. |
| 19 | func (c TmpDir) Clean() error { |
no outgoing calls