Shaka Packager SDK
file_util.h
1 // Copyright 2016 Google LLC. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #include <filesystem>
8 #include <string>
9 
10 namespace shaka {
11 
17 bool TempFilePath(const std::string& temp_dir, std::string* temp_file_path);
18 
19 std::string MakePathRelative(const std::filesystem::path& media_path,
20  const std::filesystem::path& parent_path);
21 
22 } // namespace shaka
All the methods that are virtual are virtual for mocking.
Definition: crypto_flags.cc:66
bool TempFilePath(const std::string &temp_dir, std::string *temp_file_path)
Definition: file_util.cc:43