Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ git-status-optional-locks.test.ts
File
git-status-optional-locks.test.ts
__tests__/git-status-optional-locks.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Change detection reads git without taking `.git/index.lock` (#3295).
3
*
4
* With git's optional locks on, `git status` writes the stat info it refreshed
Callers
nothing calls this directly
Calls
12
getGitChangedFiles
Function · 0.90
describe
Function · 0.85
expectPlainStatusWritesIndex
Function · 0.85
staleStatInfo
Function · 0.85
indexBytes
Function · 0.85
git
Function · 0.70
close
Method · 0.65
join
Method · 0.45
init
Method · 0.45
indexAll
Method · 0.45
sync
Method · 0.45
getChangedFiles
Method · 0.45
Tested by
no test coverage detected