1 // Copyright 2016 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef V8_BASE_FILE_UTILS_H_ 6 #define V8_BASE_FILE_UTILS_H_ 7 8 #include "src/base/base-export.h" 9 10 namespace v8 { 11 namespace base { 12 13 // Helper functions to manipulate file paths. 14 15 V8_BASE_EXPORT char* RelativePath(char** buffer, const char* exec_path, 16 const char* name); 17 18 } // namespace base 19 } // namespace v8 20 21 #endif // V8_BASE_FILE_UTILS_H_ 22