MCPcopy Create free account
hub / github.com/Qovery/engine / build

Method build

lib-engine/src/environment/models/types.rs:249–256  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

247 }
248
249 pub fn build(&self) -> VersionsNumber {
250 VersionsNumber {
251 major: self.major.to_string(),
252 minor: self.minor.as_ref().map(|m| m.to_string()),
253 patch: self.patch.as_ref().map(|p| p.to_string()),
254 suffix: self.suffix.as_ref().map(|s| s.to_string()),
255 }
256 }
257
258 pub fn major(mut self, major: u32) -> Self {
259 self.major = Arc::from(major.to_string());

Callers 4

on_deleteMethod · 0.45
upload_s3_fileFunction · 0.45

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected