MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / list_mods

Method list_mods

mserver/MasterService/src/mods.rs:437–441  ·  view source on GitHub ↗
(&self, query: &ListModsQuery)

Source from the content-addressed store, hash-verified

435 }
436
437 /// Write a catalog entry's `mod.json` (used by dev seeding; writes no artifact, so the
438 /// seeded entry carries a synthetic `size_bytes` and isn't downloadable).
439 pub async fn put_metadata(&self, entry: &ModCatalogEntry) -> Result<()> {
440 let json = serde_json::to_vec_pretty(entry)?;
441 self.store
442 .put(
443 &self.store_path(Self::metadata_path(&entry.mod_id)),
444 Bytes::from(json).into(),

Calls 2

apply_mod_filtersFunction · 0.85
read_allMethod · 0.80

Tested by

no test coverage detected