Function
isDevContainerAuthority
(authority: ParsedAuthority)
Source from the content-addressed store, hash-verified
| 394 | } |
| 395 | |
| 396 | export function isDevContainerAuthority(authority: ParsedAuthority): authority is DevContainerAuthority { |
| 397 | return (authority as DevContainerAuthority).hostPath !== undefined; |
| 398 | } |
| 399 | |
| 400 | export async function getHostMountFolder(cliHost: CLIHost, folderPath: string, mountWorkspaceGitRoot: boolean, output: Log): Promise<string> { |
| 401 | return mountWorkspaceGitRoot && await findGitRootFolder(cliHost, folderPath, output) || folderPath; |
Tested by
no test coverage detected