Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
359
func
(a *App) getInstanceName() string {
360
return
filepath.Base(filepath.Dir(filepath.Dir(a.ProjectData.ModsDir)))
361
}
362
363
func
readDirNames(dir string) []string {
364
entries, err := os.ReadDir(dir)
Callers
1
waitForTestResult
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected