EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

RmPkg Namespace Reference

Functions

def CheckDpDepex
 CheckDpDepex.
def RemovePath
 Remove Path.
def GetCurrentFileList
 GetCurrentFileList.
def Main
 Tool entrance method.

Function Documentation

def RmPkg::CheckDpDepex (   Dep,
  Guid,
  Version,
  WorkspaceDir 
)

CheckDpDepex.

Check if the Depex is satisfied

Parameters:
Dep,:Dep
Guid,:Guid of Dp
Version,:Version of Dp
WorkspaceDir,:Workspace Dir

Definition at line 50 of file RmPkg.py.

def RmPkg::GetCurrentFileList (   DataBase,
  Guid,
  Version,
  WorkspaceDir 
)

GetCurrentFileList.

Parameters:
DataBase,:DataBase of UPT
Guid,:Guid of Dp
Version,:Version of Dp
WorkspaceDir,:Workspace Dir

Definition at line 107 of file RmPkg.py.

def RmPkg::Main (   Options = None)

Tool entrance method.

This method mainly dispatch specific methods per the command line options. If no error found, return zero value so the caller of this tool can know if it's executed successfully or not.

Parameters:
Options,:command option

Definition at line 128 of file RmPkg.py.

def RmPkg::RemovePath (   Path)

Remove Path.

removing readonly file on windows will get "Access is denied" error, so before removing, change the mode to be writeable

Parameters:
Path,:The Path to be removed

Definition at line 91 of file RmPkg.py.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines