MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / FileExists

Method FileExists

serving/processor/storage/model_store_test.cc:85–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 Status FileExists(const string& fname) override {
86 for (auto it : file_names_) {
87 if (it == fname) {
88 return Status::OK();
89 }
90 }
91 return Status(errors::Code::NOT_FOUND, "");
92 }
93
94 bool FilesExist(const std::vector<string>& files,
95 std::vector<Status>* status) override {

Callers 2

GetValidSavedModelDirMethod · 0.45
RunRestoreFunction · 0.45

Calls 1

StatusClass · 0.50

Tested by

no test coverage detected