MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / fmt

Method fmt

crates/fs-utils/src/lockfile.rs:117–123  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

115
116 impl fmt::Display for LockError {
117 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
118 write!(f, "failed to lock {}", self.path.display())?;
119 if let Some(contents) = &self.existing_contents {
120 write!(f, " (existing contents: {:?})", contents)?;
121 }
122 Ok(())
123 }
124 }
125
126 impl StdError for LockError {

Callers

nothing calls this directly

Calls 3

OkFunction · 0.50
finishMethod · 0.45
fieldMethod · 0.45

Tested by

no test coverage detected