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

Method new

atomic-cli/src/remote_sandbox.rs:46–48  ·  view source on GitHub ↗
(token: Option<&[u8]>)

Source from the content-addressed store, hash-verified

44
45impl TokenInterceptor {
46 pub fn new(token: Option<&[u8]>) -> Self {
47 Self(token.map(MetadataValue::from_bytes))
48 }
49}
50
51impl tonic::service::Interceptor for TokenInterceptor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected