MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / normalizeDockerOS

Function normalizeDockerOS

common/src/docker_utils.ts:20–22  ·  view source on GitHub ↗
(os: string | undefined)

Source from the content-addressed store, hash-verified

18 * @returns Normalized OS string (defaults to "linux" if not provided)
19 */
20export function normalizeDockerOS(os: string | undefined): string {
21 return os || "linux";
22}
23
24/**
25 * Normalizes a Docker platform from manifest format to standard platform string

Callers 1

normalizeDockerPlatformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected