mediapipe/mediapipe/util/resource_util_internal.h
MediaPipe Team 7c331ad58b Project import generated by Copybara.
GitOrigin-RevId: 6e4aff1cc351be3ae4537b677f36d139ee50ce09
2021-03-25 22:09:18 -04:00

20 lines
599 B
C++

#ifndef MEDIAPIPE_UTIL_RESOURCE_UTIL_INTERNAL_H_
#define MEDIAPIPE_UTIL_RESOURCE_UTIL_INTERNAL_H_
#include <string>
#include "mediapipe/framework/port/status.h"
namespace mediapipe {
namespace internal {
// Tries to return the contents of a file given the path. Implementation is
// platform-dependent.
absl::Status DefaultGetResourceContents(const std::string& path,
std::string* output,
bool read_as_binary);
} // namespace internal
} // namespace mediapipe
#endif // MEDIAPIPE_UTIL_RESOURCE_UTIL_INTERNAL_H_