MCPcopy
hub / github.com/coder/mux / normalizeSecretsProjectPath

Method normalizeSecretsProjectPath

src/node/config.ts:2276–2278  ·  view source on GitHub ↗
(projectPath: string)

Source from the content-addressed store, hash-verified

2274 private static readonly GLOBAL_SECRETS_KEY = "__global__";
2275
2276 private static normalizeSecretsProjectPath(projectPath: string): string {
2277 return stripTrailingSlashes(projectPath);
2278 }
2279
2280 private static isSecretValue(value: unknown): value is Secret["value"] {
2281 if (typeof value === "string") {

Callers 4

getEffectiveSecretsMethod · 0.80
getProjectSecretsMethod · 0.80
updateProjectSecretsMethod · 0.80

Calls 1

stripTrailingSlashesFunction · 0.90

Tested by

no test coverage detected