Skip to main content

workspace_mount_targets

Function workspace_mount_targets 

Source
pub fn workspace_mount_targets(
    manifest: &WorkspaceManifest,
) -> Result<Vec<String>, DockerError>
Expand description

Return the container mount target for each workspace folder.

§Arguments

  • manifest - Workspace manifest whose folders should be mounted.

§Returns

Container paths under CONTAINER_WORKSPACE_ROOT using each folder’s directory name.

§Errors

Returns DockerError::InvalidWorkspaceFolderName when a folder has no usable final path component, or DockerError::DuplicateWorkspaceFolderName when two folders share a name.