MCPcopy Index your code
hub / github.com/devcontainers/cli / isDevContainerAuthority

Function isDevContainerAuthority

src/spec-node/utils.ts:396–398  ·  view source on GitHub ↗
(authority: ParsedAuthority)

Source from the content-addressed store, hash-verified

394}
395
396export function isDevContainerAuthority(authority: ParsedAuthority): authority is DevContainerAuthority {
397 return (authority as DevContainerAuthority).hostPath !== undefined;
398}
399
400export async function getHostMountFolder(cliHost: CLIHost, folderPath: string, mountWorkspaceGitRoot: boolean, output: Log): Promise<string> {
401 return mountWorkspaceGitRoot && await findGitRootFolder(cliHost, folderPath, output) || folderPath;

Callers 1

resolveFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected