16 #include "tensorflow_serving/core/prefix_storage_path_source_adapter.h"
20 #include "tensorflow/core/platform/path.h"
22 namespace tensorflow {
25 PrefixStoragePathSourceAdapter::PrefixStoragePathSourceAdapter(
26 const std::string& prefix)
29 PrefixStoragePathSourceAdapter::~PrefixStoragePathSourceAdapter() { Detach(); }
31 Status PrefixStoragePathSourceAdapter::Convert(
const StoragePath& source,
32 StoragePath* destination) {
33 *destination = tensorflow::io::JoinPath(prefix_, source);