MCPcopy Create free account
hub / github.com/cli/cli / gitFixtureDir

Method gitFixtureDir

script/ghmock/gitfixture.go:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (s *state) gitFixtureDir() string {
52 return filepath.Join(s.dir, filepath.FromSlash(gitFixture))
53}
54
55func (s *state) ensureGitFixture() (string, error) {
56 dir := s.gitFixtureDir()

Callers 5

TestCmdExportFunction · 0.95
ensureGitFixtureMethod · 0.95
snapshotGitMethod · 0.95
TestCmdRepoFunction · 0.80
TestCmdGitFunction · 0.80

Calls 1

JoinMethod · 0.80

Tested by 3

TestCmdExportFunction · 0.76
TestCmdRepoFunction · 0.64
TestCmdGitFunction · 0.64