#include "chrome/browser/web_applications/file_utils_wrapper.h"
#include <cstdint>
#include "base/containers/span.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
namespace web_app {
bool FileUtilsWrapper::PathExists(const base::FilePath& path) { … }
bool FileUtilsWrapper::DirectoryExists(const base::FilePath& path) { … }
bool FileUtilsWrapper::CreateDirectory(const base::FilePath& full_path) { … }
bool FileUtilsWrapper::GetFileInfo(const base::FilePath& file_path,
base::File::Info* info) { … }
bool FileUtilsWrapper::WriteFile(const base::FilePath& filename,
base::span<const uint8_t> file_data) { … }
bool FileUtilsWrapper::Move(const base::FilePath& from_path,
const base::FilePath& to_path) { … }
bool FileUtilsWrapper::IsDirectoryEmpty(const base::FilePath& dir_path) { … }
bool FileUtilsWrapper::ReadFileToString(const base::FilePath& path,
std::string* contents) { … }
bool FileUtilsWrapper::DeleteFile(const base::FilePath& path, bool recursive) { … }
bool FileUtilsWrapper::DeleteFileRecursively(const base::FilePath& path) { … }
TestFileUtils* FileUtilsWrapper::AsTestFileUtils() { … }
}