TianoCore EDK2 master
|
#include "UefiShellLevel2CommandsLib.h"
Go to the source code of this file.
Functions | |
BOOLEAN | IsDirectoryEmpty (IN SHELL_FILE_HANDLE FileHandle) |
SHELL_STATUS | CascadeDelete (IN EFI_SHELL_FILE_INFO *Node, IN CONST BOOLEAN Quiet) |
BOOLEAN | IsValidDeleteTarget (IN CONST EFI_SHELL_FILE_INFO *List, IN CONST EFI_SHELL_FILE_INFO *Node, IN CONST LIST_ENTRY *Package) |
SHELL_STATUS EFIAPI | ShellCommandRunRm (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC CONST SHELL_PARAM_ITEM | ParamList [] |
Main file for attrib shell level 2 function.
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Rm.c.
SHELL_STATUS CascadeDelete | ( | IN EFI_SHELL_FILE_INFO * | Node, |
IN CONST BOOLEAN | Quiet | ||
) |
Delete a node and all nodes under it (including sub directories).
[in] | Node | The node to start deleting with. |
[in] | Quiet | TRUE to print no messages. |
SHELL_SUCCESS | The operation was successful. |
SHELL_ACCESS_DENIED | A file was read only. |
SHELL_ABORTED | The abort message was received. |
SHELL_DEVICE_ERROR | A device error occurred reading this Node. |
BOOLEAN IsDirectoryEmpty | ( | IN SHELL_FILE_HANDLE | FileHandle | ) |
BOOLEAN IsValidDeleteTarget | ( | IN CONST EFI_SHELL_FILE_INFO * | List, |
IN CONST EFI_SHELL_FILE_INFO * | Node, | ||
IN CONST LIST_ENTRY * | Package | ||
) |
SHELL_STATUS EFIAPI ShellCommandRunRm | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
STATIC CONST SHELL_PARAM_ITEM ParamList[] |