Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/yarnpkg/yarn
/ git.js
File
git.js
__tests__/util/git.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/* @flow */
2
3
jest.mock(
'../../src/util/git/git-spawn.js'
, () => ({
4
spawn: jest.fn(([command]) => {
Callers
nothing calls this directly
Calls
8
npmUrlToGitUrl
Method · 0.80
secureGitUrl
Method · 0.80
getBuffer
Method · 0.80
create
Method · 0.80
resolveDefaultBranch
Method · 0.65
resolveCommit
Method · 0.65
resolve
Method · 0.45
lang
Method · 0.45
Tested by
no test coverage detected