MCPcopy Index your code
hub / github.com/simstudioai/sim / fileExternalId

Function fileExternalId

apps/sim/connectors/azure-devops/azure-devops.ts:192–194  ·  view source on GitHub ↗

* Builds the externalId for a repository file: `file:{repoId}:{path}`. The path * retains its leading slash as returned by the Items API.

(repoId: string, path: string)

Source from the content-addressed store, hash-verified

190 * retains its leading slash as returned by the Items API.
191 */
192function fileExternalId(repoId: string, path: string): string {
193 return `${FILE_PREFIX}${repoId}:${path}`
194}
195
196/**
197 * Parses a file externalId back into its repository ID and path. Returns null

Callers 1

fileToStubFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected