MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetStoreDirPath

Function GetStoreDirPath

cmd/utils/utils.go:114–116  ·  view source on GitHub ↗
(dataDir, networkName string)

Source from the content-addressed store, hash-verified

112}
113
114func GetStoreDirPath(dataDir, networkName string) string {
115 return dataDir + string(os.PathSeparator) + networkName
116}
117
118func GenExportBlocksFileName(name string, start, end uint32) string {
119 index := strings.LastIndex(name, ".")

Callers 2

initLedgerFunction · 0.92
importBlocksFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected