From 8fe71800158e0da52b380ccbd758732b7f3777e4 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 13 Dec 2021 20:38:27 +0300 Subject: cmds: make the advanced stub for copying a file --- Library/UefiShellUfmCommandLib/cmds.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Library/UefiShellUfmCommandLib/cmds.h') diff --git a/Library/UefiShellUfmCommandLib/cmds.h b/Library/UefiShellUfmCommandLib/cmds.h index f58cdea..8635192 100644 --- a/Library/UefiShellUfmCommandLib/cmds.h +++ b/Library/UefiShellUfmCommandLib/cmds.h @@ -16,6 +16,19 @@ */ EFI_STATUS delete_file(EFI_SHELL_FILE_INFO *node); +/* + * Copies one file/directory (including subdirectories) to another location. + * If destination is a directory, the source is copied to a directory + * + * NOTE: if destination is a existing file, the source overwrites file + * + * src: the pointer to source string + * dest: the pointer to destination string + * + * return: unknown +*/ +EFI_STATUS copy_file(CONST CHAR16 *src, CONST CHAR16 *dest); + /* * Creates one or more directories. * -- cgit v1.2.3-18-g5258