MCPcopy Index your code
hub / github.com/anomalyco/opencode / isAbsolutePath

Function isAbsolutePath

packages/opencode/src/plugin/shared.ts:67–69  ·  view source on GitHub ↗
(raw: string)

Source from the content-addressed store, hash-verified

65}
66
67function isAbsolutePath(raw: string) {
68 return path.isAbsolute(raw) || /^[A-Za-z]:[\\/]/.test(raw)
69}
70
71function extractExportValue(value: unknown): string | undefined {
72 if (typeof value === "string") return value

Callers 2

isPathPluginSpecFunction · 0.85
readPackageThemesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected