MCPcopy Create free account
hub / github.com/anomalyco/opencode / isWindowsStoragePath

Function isWindowsStoragePath

packages/core/src/database/path.ts:10–12  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

8}
9
10function isWindowsStoragePath(input: string) {
11 return /^[A-Za-z]:\//.test(input) || input.startsWith("//")
12}
13
14function absolute(input: string) {
15 const result = storagePath(input)

Callers 2

absoluteFunction · 0.85
toPlatformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected