MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / abs_path

Method abs_path

vmm/src/config.rs:379–383  ·  view source on GitHub ↗
(mut self)

Source from the content-addressed store, hash-verified

377
378impl Config {
379 pub fn abs_path(mut self) -> Result<Self> {
380 self.image.path = self.image.path.absolutize()?.to_path_buf();
381 self.run_path = self.run_path.absolutize()?.to_path_buf();
382 Ok(self)
383 }
384}
385
386#[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize)]

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected