(world, host, repo string)
| 42 | } |
| 43 | |
| 44 | func gitRepoPath(world, host, repo string) string { |
| 45 | if host == mockHost || host == "ssh.github.com" { |
| 46 | host = dotcomHost |
| 47 | } |
| 48 | return filepath.Join(world, "repos", host, filepath.FromSlash(repo)+".git") |
| 49 | } |
| 50 | |
| 51 | func (s *state) gitFixtureDir() string { |
| 52 | return filepath.Join(s.dir, filepath.FromSlash(gitFixture)) |