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

Function getGitLabApiBase

apps/sim/tools/gitlab/utils.ts:66–68  ·  view source on GitHub ↗
(rawHost: unknown)

Source from the content-addressed store, hash-verified

64 * @throws {UnsafeGitLabHostError} when a non-empty host is structurally unsafe.
65 */
66export function getGitLabApiBase(rawHost: unknown): string {
67 return `https://${normalizeGitLabHost(rawHost)}/api/v4`
68}

Callers 15

list_branches.tsFile · 0.90
get_pipeline.tsFile · 0.90
list_issues.tsFile · 0.90
create_branch.tsFile · 0.90
cancel_pipeline.tsFile · 0.90
create_file.tsFile · 0.90
create_issue.tsFile · 0.90
list_commits.tsFile · 0.90
get_job_log.tsFile · 0.90

Calls 1

normalizeGitLabHostFunction · 0.85

Tested by

no test coverage detected