Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ new
Method
new
atomic-core/src/operation/codec.rs:276–278 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
274
275
impl Encoder {
276
fn new() -> Self {
277
Self { bytes: Vec::new() }
278
}
279
280
fn finish(self) -> Result<Vec<u8>, OperationCodecError> {
281
if self.bytes.len() > MAX_OPERATION_OBJECT_BYTES {
Callers
nothing calls this directly
Calls
1
len
Method · 0.45
Tested by
no test coverage detected