Repository represents a Git repository on disk.
| 15 | |
| 16 | // Repository represents a Git repository on disk. |
| 17 | type Repository struct { |
| 18 | path string |
| 19 | |
| 20 | // gitBin is the path of the `git` executable that should be used |
| 21 | // when running commands in this repository. |
| 22 | gitBin string |
| 23 | } |
| 24 | |
| 25 | // smartJoin returns the path that can be described as `relPath` |
| 26 | // relative to `path`, given that `path` is either absolute or is |
nothing calls this directly
no outgoing calls
no test coverage detected