getGlobalGslothConfigReadPath
getGlobalGslothConfigReadPath(
filename):string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/globalConfigUtils.ts:39
Gets the read path for a global gsloth config file (e.g. .gsloth.config.json)
inside the global ~/.gsloth directory. Reuses the same global folder as MCP auth.
This is a plain path resolver: it does NOT check for existence and does NOT create
the directory. Callers should guard with existsSync before reading.
Parameters
Section titled “Parameters”filename
Section titled “filename”string
The configuration filename (e.g. .gsloth.config.json)
Returns
Section titled “Returns”string
The resolved path where the global configuration file would live