Skip to content

@nogoo9/mcp-server-cloud-fs / path-utils / toCacheKey

Function: toCacheKey()

toCacheKey(root, key): string

Defined in: path-utils.ts:127

Build a canonical cache key from a root and normalized object key.

Parameters

root

ParsedRoot

Parsed storage root.

key

string

Pre-normalized object key (from resolveToolPath).

Returns

string

Cache key string in the format scheme://bucket/key.

Released under the PolyForm Shield 1.0.0 License.