MCPcopy Create free account
hub / github.com/driusan/dgit / WriteObject

Method WriteObject

git/client.go:491–518  ·  view source on GitHub ↗

Writes an object into the Client's .git/objects/ directory. This will write the object loosely, and not use a packfile.

(objType string, rawdata []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

AddFileMethod · 0.80
UnpackObjectsFunction · 0.80
updateApplyIndexFunction · 0.80
TestUnmergedCommitFunction · 0.80
MkTreeFunction · 0.80
writeTreeFunction · 0.80
MktagFunction · 0.80
CommitTreeFunction · 0.80
HashObjectFunction · 0.80

Calls 8

HaveObjectMethod · 0.95
WriteMethod · 0.95
CloseMethod · 0.95
NewWriterFunction · 0.92
Sha1TypeAlias · 0.85
FileTypeAlias · 0.85
CloseMethod · 0.65
CreateMethod · 0.45

Tested by 1

TestUnmergedCommitFunction · 0.64