MCPcopy
hub / github.com/npmx-dev/npmx.dev / getBlobBaseUrl

Method getBlobBaseUrl

shared/utils/git-providers.ts:62–62  ·  view source on GitHub ↗

Get blob/rendered URL base for markdown files

(ref: RepoRef, branch?: string)

Source from the content-addressed store, hash-verified

60 getRawBaseUrl(ref: RepoRef, branch?: string): string
61 /** Get blob/rendered URL base for markdown files */
62 getBlobBaseUrl(ref: RepoRef, branch?: string): string
63 /** Convert file URLs to blob URLs (for images) */
64 fileToRaw?(url: string): string
65 /** Convert blob URLs to raw URLs (for images) */

Callers 1

parseRepositoryInfoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected