MCPcopy Create free account
hub / github.com/ecto/muni / bump_version

Method bump_version

depot/types/src/map.rs:44–47  ·  view source on GitHub ↗

Update the manifest version and timestamp.

(&mut self)

Source from the content-addressed store, hash-verified

42
43 /// Update the manifest version and timestamp.
44 pub fn bump_version(&mut self) {
45 self.version += 1;
46 self.updated_at = Utc::now();
47 }
48}
49
50/// Map asset paths (relative to map directory).

Callers 1

Calls

no outgoing calls

Tested by 1