MCPcopy Create free account
hub / github.com/ml-explore/mlx-data / contains

Method contains

mlx/data/core/TARReader.cpp:179–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179bool TARReader::contains(const std::string& filename) {
180 auto it = index_.find(filename);
181 return (it != index_.end());
182}
183
184std::shared_ptr<Array> TARReader::get(const std::string& filename) {
185 auto it = index_.find(filename);

Callers

nothing calls this directly

Calls 1

findMethod · 0.80

Tested by

no test coverage detected