TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | PathRemoveLastItem (IN OUT CHAR16 *Path) |
CHAR16 *EFIAPI | PathCleanUpDirectories (IN CHAR16 *Path) |
Defines file-path manipulation functions.
Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.
Copyright (c) 2018, Dell Technologies. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FilePaths.c.
CHAR16 *EFIAPI PathCleanUpDirectories | ( | IN CHAR16 * | Path | ) |
Function to clean up paths.
This will be done inline and the existing buffer may be larger than required upon completion.
[in] | Path | The pointer to the string containing the path. |
Definition at line 68 of file FilePaths.c.
Removes the last directory or file entry in a path. For a path which is like L"fs0:startup.nsh", it's converted to L"fs0:".
[in,out] | Path | A pointer to the path to modify. |
FALSE | Nothing was found to remove. |
TRUE | A directory or file was removed. |
Definition at line 22 of file FilePaths.c.