mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
This patch aims to help breaking down the long function present in the ShellPkg and reduce complexity/nested code and conditions. Extract a MainCmdXXX() function for each shell command. This command contains the possible operations the command aims to operate. The ShellCommandRunXXX() function from which it is extracted is only responsible of: - initializing the shell/command environment - parsing the command parameter and creating a Package - freeing the Package No functional change should be induced by this patch. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> |
||
|---|---|---|
| .. | ||
| Attrib.c | ||
| Cd.c | ||
| Cp.c | ||
| Load.c | ||
| Ls.c | ||
| Map.c | ||
| MkDir.c | ||
| Mv.c | ||
| Parse.c | ||
| Reset.c | ||
| Rm.c | ||
| Set.c | ||
| TimeDate.c | ||
| UefiShellLevel2CommandsLib.c | ||
| UefiShellLevel2CommandsLib.h | ||
| UefiShellLevel2CommandsLib.inf | ||
| UefiShellLevel2CommandsLib.uni | ||
| Vol.c | ||