mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-21 23:48:22 +08:00
29 lines
876 B
C
29 lines
876 B
C
/* filesystem.h
|
|
|
|
Copyright (c) 2023, Nikolaj Schlej. All rights reserved.
|
|
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
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
*/
|
|
|
|
#ifndef FILESYSTEM_H
|
|
#define FILESYSTEM_H
|
|
|
|
#include "basetypes.h"
|
|
#include "ustring.h"
|
|
#include "ubytearray.h"
|
|
|
|
bool isExistOnFs(const UString& path);
|
|
bool makeDirectory(const UString& dir);
|
|
bool changeDirectory(const UString& dir);
|
|
void removeDirectory(const UString& dir);
|
|
UString getAbsPath(const UString& path);
|
|
USTATUS readFileIntoBuffer(const UString& inPath, UByteArray& buf);
|
|
|
|
#endif
|