Blender V4.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#pragma once
5
6#include "BLI_set.hh"
7#include "BLI_string_ref.hh"
8
10
11namespace blender::io {
12
22std::string path_reference(StringRefNull filepath,
23 StringRefNull base_src,
24 StringRefNull base_dst,
26 Set<std::pair<std::string, std::string>> *copy_set = nullptr);
27
29void path_reference_copy(const Set<std::pair<std::string, std::string>> &copy_set);
30
31} // namespace blender::io
ePathReferenceMode
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:12
void path_reference_copy(const Set< std::pair< std::string, std::string > > &copy_set)
Definition path_util.cc:61