Skip to content

@nogoo9/mcp-server-cloud-fs / tools/shell/resolve / resolveShellPath

Function: resolveShellPath()

resolveShellPath(roots, path, cwd?): object

Defined in: tools/shell/resolve.ts:14

Resolve a path within the shell, taking cwd into account. Relative paths are prefixed with cwd/ before being passed to resolveToolPath, so cd changes where relative paths point.

Parameters

roots

ParsedRoot[]

path

string

cwd?

string

Returns

object

key

key: string

root

root: ParsedRoot

Released under the PolyForm Shield 1.0.0 License.