shortSha returns a shortened version of a commit SHA
(sha string)
| 344 | |
| 345 | // shortSha returns a shortened version of a commit SHA |
| 346 | func shortSha(sha string) string { |
| 347 | return sha[0:int(math.Min(float64(len(sha)), 7))] |
| 348 | } |
| 349 | |
| 350 | // stageDirectory creates a subdirectory of the provided path for temporary operations |
| 351 | // path is the parent staged directory and should already exist |
no outgoing calls
no test coverage detected