Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReZeroS/git
/ initIndex
Method
initIndex
src/main/java/club/qqtim/context/ZitContext.java:302–304 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
300
}
301
302
private
static
void
initIndex() {
303
FileUtil.createFile(
"{}"
.getBytes(StandardCharsets.UTF_8), ConstantVal.INDEX);
304
}
305
306
private
static
void
initRoot() {
307
FileUtil.mkdir(ConstantVal.ZIT_DIR);
Callers
1
init
Method · 0.95
Calls
1
createFile
Method · 0.95
Tested by
no test coverage detected