ShellPkg: Update MV. now supports across file system moves.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> Reviewed-by: Tapan Shah <tapandshah@hp.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16193 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
* functions are non-interactive only
|
||||
|
||||
|
||||
Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@ -330,5 +330,44 @@ ShellCommandRunVol (
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
);
|
||||
|
||||
/**
|
||||
Function to Copy one file to another location
|
||||
|
||||
If the destination exists the user will be prompted and the result put into *resp
|
||||
|
||||
@param[in] Source pointer to source file name
|
||||
@param[in] Dest pointer to destination file name
|
||||
@param[out] Resp pointer to response from question. Pass back on looped calling
|
||||
@param[in] SilentMode whether to run in quiet mode or not
|
||||
|
||||
@retval SHELL_SUCCESS The source file was copied to the destination
|
||||
**/
|
||||
SHELL_STATUS
|
||||
EFIAPI
|
||||
CopySingleFile(
|
||||
IN CONST CHAR16 *Source,
|
||||
IN CONST CHAR16 *Dest,
|
||||
OUT VOID **Resp,
|
||||
IN BOOLEAN SilentMode
|
||||
);
|
||||
|
||||
/**
|
||||
Delete a node and all nodes under it (including sub directories).
|
||||
|
||||
@param[in] Node The node to start deleting with.
|
||||
@param[in] Quiet TRUE to print no messages.
|
||||
|
||||
@retval SHELL_SUCCESS The operation was successful.
|
||||
@retval SHELL_ACCESS_DENIED A file was read only.
|
||||
@retval SHELL_ABORTED The abort message was received.
|
||||
@retval SHELL_DEVICE_ERROR A device error occured reading this Node.
|
||||
**/
|
||||
SHELL_STATUS
|
||||
EFIAPI
|
||||
CascadeDelete(
|
||||
IN EFI_SHELL_FILE_INFO *Node,
|
||||
IN CONST BOOLEAN Quiet
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user