MCPcopy
hub / github.com/conwnet/github1s / parsePath

Method parsePath

extensions/github1s/src/adapters/types.ts:346–348  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

344export class RouterParser {
345 // parse giving path (starts with '/', may includes search and hash) to Router state,
346 parsePath(path: string): Promisable<RouterState> {
347 return { repo: '', ref: 'HEAD', pageType: PageType.Tree, filePath: '' };
348 }
349
350 // build the tree page path
351 buildTreePath(repo: string, ref?: string, filePath?: string): Promisable<string> {

Callers 1

initializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected