MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / fmt

Method fmt

atomic-cli/src/logging/mod.rs:288–294  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

286
287impl fmt::Display for OpenError {
288 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
289 match self {
290 Self::Relative => f.write_str("not an absolute path"),
291 Self::Create(error) => write!(f, "{error}"),
292 Self::Init(error) => write!(f, "{error}"),
293 }
294 }
295}
296
297fn open_file(dir: &Path) -> Result<RollingFileAppender, OpenError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected