Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/driusan/dgit
/ Init
Function
Init
git/init.go:23–185 ·
view source on GitHub ↗
(c *Client, opts InitOptions, dir string)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
15
Init
Function · 0.92
TestRevert
Function · 0.70
TestUnidiffApply
Function · 0.70
TestCheckoutIndex
Function · 0.70
TestUpdateIndex
Function · 0.70
TestUpdateIndexSymlinks
Function · 0.70
TestUpdateIndexIndexInfo
Function · 0.70
testMergeBaseSimpleSetup
Function · 0.70
TestSimpleCommits
Function · 0.70
TestUnmergedCommit
Function · 0.70
TestCommitAmend
Function · 0.70
Clone
Function · 0.70
Calls
13
File
TypeAlias · 0.85
GitDir
TypeAlias · 0.85
WorkDir
TypeAlias · 0.85
NewClient
Function · 0.85
GetObjectsDir
Method · 0.80
IsDir
Method · 0.80
String
Method · 0.65
Close
Method · 0.65
Exists
Method · 0.45
File
Method · 0.45
WriteFile
Method · 0.45
Create
Method · 0.45
Tested by
15
TestRevert
Function · 0.56
TestUnidiffApply
Function · 0.56
TestCheckoutIndex
Function · 0.56
TestUpdateIndex
Function · 0.56
TestUpdateIndexSymlinks
Function · 0.56
TestUpdateIndexIndexInfo
Function · 0.56
testMergeBaseSimpleSetup
Function · 0.56
TestSimpleCommits
Function · 0.56
TestUnmergedCommit
Function · 0.56
TestCommitAmend
Function · 0.56
TestResetFiles
Function · 0.56
TestInitRepo
Function · 0.56