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

Function IsMetaFileName

serving/processor/storage/model_store.cc:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace processor {
13namespace {
14bool IsMetaFileName(const std::string& fname) {
15 auto ext = io::Extension(fname);
16 return ext == "index";
17}
18
19bool IsIncrementalCkptPath(const std::string& fname) {
20 auto pos = fname.find(".incremental_checkpoint");

Callers 2

GetFullModelVersionMethod · 0.85
GetDeltaModelVersionMethod · 0.85

Calls 1

ExtensionFunction · 0.85

Tested by

no test coverage detected