src/vs/workbench/services/workspaces/common/workspaceTrust.ts/WorkspaceTrustManagementService/setParentFolderTrust
class WorkspaceTrustManagementService:	async setParentFolderTrust(trusted: boolean): Promise<void> {
		const workspaceIdentifier = toWorkspaceIdentifier(this._canonicalWorkspace);
		if (isSingleFolderWorkspaceIdentifier(workspaceIdentifier) && workspaceIdentifier.uri.scheme === Schemas.file) {
			const { parentPath } = splitName(workspaceIdentifier.uri.fsPath);

			await this.setUrisTrust([URI.file(parentPath)], trusted);
		}
	}