dfx
0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
FileSystem.hpp
1
// SPDX-FileCopyrightText: 2025 Vincent Leroy
2
// SPDX-License-Identifier: MIT
3
//
4
// This file is part of dfx.
5
//
6
// Licensed under the MIT License. See the LICENSE file in the project root
7
// for full license information.
8
9
#pragma once
10
11
// Standard includes
12
#include <filesystem>
13
#include <format>
14
15
namespace
fs = std::filesystem;
16
17
template
<>
18
struct
std::formatter<fs::path> :
public
formatter<std::string_view>
19
{
20
template
<
typename
FormatContext>
21
auto
format(fs::path
const
& p, FormatContext & ctx)
const
22
{
return
this->formatter<std::string_view>::format(p.string(), ctx); }
23
};
lib
dfx-utilities
FileSystem.hpp
Generated by
1.14.0