You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
719 B
21 lines
719 B
#ifndef DYNAMIC_DEPTH_INTERNAL_XMPMETA_FILE_H_ // NOLINT
|
|
#define DYNAMIC_DEPTH_INTERNAL_XMPMETA_FILE_H_ // NOLINT
|
|
|
|
#include <string>
|
|
|
|
namespace dynamic_depth {
|
|
namespace xmpmeta {
|
|
|
|
void WriteStringToFileOrDie(const std::string &data,
|
|
const std::string &filename);
|
|
void ReadFileToStringOrDie(const std::string &filename, std::string *data);
|
|
|
|
// Join two path components, adding a slash if necessary. If basename is an
|
|
// absolute path then JoinPath ignores dirname and simply returns basename.
|
|
std::string JoinPath(const std::string &dirname, const std::string &basename);
|
|
|
|
} // namespace xmpmeta
|
|
} // namespace dynamic_depth
|
|
|
|
#endif // DYNAMIC_DEPTH_INTERNAL_XMPMETA_FILE_H_ // NOLINT
|