Blender V5.3
IO_path_util.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "BLI_set.hh"
12#include "BLI_string_ref.hh"
13
14#include "IO_path_util_types.hh"
15
16namespace blender::io {
17
27std::string path_reference(StringRefNull filepath,
28 StringRefNull base_src,
29 StringRefNull base_dst,
31 Set<std::pair<std::string, std::string>> *copy_set = nullptr);
32
34void path_reference_copy(const Set<std::pair<std::string, std::string>> &copy_set);
35
36} // namespace blender::io
std::string path_reference(StringRefNull filepath, StringRefNull base_src, StringRefNull base_dst, ePathReferenceMode mode, Set< std::pair< std::string, std::string > > *copy_set)
Definition path_util.cc:18
void path_reference_copy(const Set< std::pair< std::string, std::string > > &copy_set)
Definition path_util.cc:67