parameters: (self)
return_statement: return sdk_dir
docstring: Ensures the Windows SDK CIPD package is installed.
  
      Returns the directory where the SDK package has been installed.
  
      Args:
        path (path): Path to a directory.
        version (str): CIPD instance ID, tag or ref.
docstring_summary: Ensures the Windows SDK CIPD package is installed.
docstring_tokens: Ensures the Windows SDK CIPD package is installed .
function: def _ensure_sdk(self):
      """Ensures the Windows SDK CIPD package is installed.
  
      Returns the directory where the SDK package has been installed.
  
      Args:
        path (path): Path to a directory.
        version (str): CIPD instance ID, tag or ref.
      """
      sdk_dir = self.m.path['cache'].join('windows_sdk')
      pkgs = self.m.cipd.EnsureFile()
      pkgs.add_package(self._sdk_package, self._sdk_version)
      self.m.cipd.ensure(sdk_dir, pkgs)
      return sdk_dir
function_tokens: def _ensure_sdk ( self ) : sdk_dir = self . m . path [ 'cache' ] . join ( 'windows_sdk' ) pkgs = self . m . cipd . EnsureFile ( ) pkgs . add_package ( self . _sdk_package , self . _sdk_version ) self . m . cipd . ensure ( sdk_dir , pkgs ) return sdk_dir