diff options
author | Joursoir <chat@joursoir.net> | 2021-12-13 20:38:27 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-12-13 20:38:27 +0300 |
commit | 8fe71800158e0da52b380ccbd758732b7f3777e4 (patch) | |
tree | 38667c09192784a26a3bdece3c89ffca0316d219 /Library/UefiShellUfmCommandLib/cmds.h | |
parent | 8a4c78cc58ac89aca08d8d54a61462d8fb7f814b (diff) | |
download | ufm-8fe71800158e0da52b380ccbd758732b7f3777e4.tar.gz ufm-8fe71800158e0da52b380ccbd758732b7f3777e4.tar.bz2 ufm-8fe71800158e0da52b380ccbd758732b7f3777e4.zip |
cmds: make the advanced stub for copying a file
Diffstat (limited to 'Library/UefiShellUfmCommandLib/cmds.h')
-rw-r--r-- | Library/UefiShellUfmCommandLib/cmds.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 @@ -17,6 +17,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. * * dir_name: the name of a directory or directories to create |