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

Function bundle

libatomic/src/daemon/services_review.rs:35–40  ·  view source on GitHub ↗
(schema: &str, value: &impl Serialize)

Source from the content-addressed store, hash-verified

33}
34
35fn bundle(schema: &str, value: &impl Serialize) -> Result<Option<VersionedBytes>, Status> {
36 Ok(Some(VersionedBytes {
37 schema: schema.into(),
38 payload: serde_json::to_vec(value).map_err(|error| Status::internal(error.to_string()))?,
39 }))
40}
41
42fn options(request: GenerateReviewRequest) -> ReviewRequest {
43 ReviewRequest {

Callers 7

generate_reviewMethod · 0.85
prepare_source_reviewMethod · 0.85
get_reviewMethod · 0.85
inspect_reviewsMethod · 0.85
open_reviewMethod · 0.85
approve_reviewMethod · 0.85
cancel_review_jobMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected