MCPcopy Create free account
hub / github.com/WendellCraft/ModpackDebuggerKit / getInstanceName

Method getInstanceName

debug.go:359–361  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

357}
358
359func (a *App) getInstanceName() string {
360 return filepath.Base(filepath.Dir(filepath.Dir(a.ProjectData.ModsDir)))
361}
362
363func readDirNames(dir string) []string {
364 entries, err := os.ReadDir(dir)

Callers 1

waitForTestResultMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected