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

Method encoding

atomic-core/src/record/error.rs:357–362  ·  view source on GitHub ↗

Create a new encoding error. # Arguments `path` - The file with encoding issues `message` - Description of the problem

(path: impl Into<PathBuf>, message: impl Into<String>)

Source from the content-addressed store, hash-verified

355 /// * `path` - The file with encoding issues
356 /// * `message` - Description of the problem
357 pub fn encoding(path: impl Into<PathBuf>, message: impl Into<String>) -> Self {
358 Self::Encoding {
359 path: path.into(),
360 message: message.into(),
361 }
362 }
363
364 /// Create a new file-too-large error.
365 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected