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

Method ResetIndex

git/client.go:475–487  ·  view source on GitHub ↗

Resets the index to the Treeish tree and save the results in the file named indexname

(tree Treeish, indexname string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

FileTypeAlias · 0.85
ReadIndexMethod · 0.80
CloseMethod · 0.65
WriteIndexMethod · 0.65
CreateMethod · 0.45

Tested by

no test coverage detected