mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 20:05:18 +00:00
5 lines
181 B
TypeScript
5 lines
181 B
TypeScript
import { comparablePath } from "@opencode/util/path"
|
|
|
|
export type PathKey = string & { _brand: "PathKey" }
|
|
|
|
export const pathKey = (path: string) => comparablePath(path) as PathKey
|