Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
51
func
(s *state) gitFixtureDir() string {
52
return
filepath.Join(s.dir, filepath.FromSlash(gitFixture))
53
}
54
55
func
(s *state) ensureGitFixture() (string, error) {
56
dir := s.gitFixtureDir()
Callers
5
TestCmdExport
Function · 0.95
ensureGitFixture
Method · 0.95
snapshotGit
Method · 0.95
TestCmdRepo
Function · 0.80
TestCmdGit
Function · 0.80
Calls
1
Join
Method · 0.80
Tested by
3
TestCmdExport
Function · 0.76
TestCmdRepo
Function · 0.64
TestCmdGit
Function · 0.64