MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / isRemotePath

Function isRemotePath

packages/shared/src/env.server.ts:55–57  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

53}
54
55export const isRemotePath = (path: string) => {
56 return path.startsWith('https://') || path.startsWith('http://');
57}
58
59
60export const loadConfig = async (configPath?: string): Promise<SourcebotConfig> => {

Callers 3

utils.test.tsFile · 0.90
loadJsonFileFunction · 0.85
loadConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected