Metall v0.30
A persistent memory allocator for data-centric analytics
 
Loading...
Searching...
No Matches
filesystem.hpp
Go to the documentation of this file.
1// Copyright 2023 Lawrence Livermore National Security, LLC and other Metall
2// Project Developers. See the top-level COPYRIGHT file for details.
3//
4// SPDX-License-Identifier: (Apache-2.0 OR MIT)
5
6#ifndef METALL_UTILITY_FILESYSTEM_HPP
7#define METALL_UTILITY_FILESYSTEM_HPP
8
9#include <metall/detail/file.hpp>
10
12
16inline bool remove(std::string_view path) {
17 return metall::mtlldetail::remove_file(path.data());
18}
19
20} // namespace metall::utility::filesystem
21
22#endif // METALL_UTILITY_FILESYSTEM_HPP
Definition filesystem.hpp:11
bool remove(std::string_view path)
Remove a file or directory.
Definition filesystem.hpp:16