MCPcopy Create free account
hub / github.com/troch/path-parser / createPath

Method createPath

src/Path.ts:104–109  ·  view source on GitHub ↗
(
    path: string,
    options?: PathOptions
  )

Source from the content-addressed store, hash-verified

102
103export class Path<T extends Record<string, any> = Record<string, any>> {
104 public static createPath<T extends Record<string, any> = Record<string, any>>(
105 path: string,
106 options?: PathOptions
107 ) {
108 return new Path<T>(path, options)
109 }
110
111 public path: string
112 public tokens: Token[]

Callers 1

main.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected