Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/isomorphic-git/isomorphic-git
/ hashObject
Function
hashObject
src/utils/hashObject.js:4–6 ·
view source on GitHub ↗
({ gitdir, type, object })
Source
from the content-addressed store, hash-verified
2
import
{ shasum } from
'../utils/shasum.js'
3
4
export
async
function
hashObject({ gitdir,
type
, object }) {
5
return
shasum(GitObject.wrap({
type
, object }))
6
}
Callers
3
resetIndex
Function · 0.90
getWorkdirOid
Function · 0.90
hashBlob
Function · 0.90
Calls
2
shasum
Function · 0.90
wrap
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…