file-utils.h 532 Bytes
Newer Older
1 2 3 4
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5 6 7
#ifndef V8_BASE_FILE_UTILS_H_
#define V8_BASE_FILE_UTILS_H_

8 9
#include <memory>

10
#include "src/base/base-export.h"
11 12

namespace v8 {
13
namespace base {
14 15 16

// Helper functions to manipulate file paths.

17 18
V8_BASE_EXPORT
std::unique_ptr<char[]> RelativePath(const char* exec_path, const char* name);
19

20
}  // namespace base
21 22
}  // namespace v8

23
#endif  // V8_BASE_FILE_UTILS_H_