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

Method change

atomic-remote/src/types.rs:104–110  ·  view source on GitHub ↗

Create a new change node.

(hash: impl Into<String>, state: impl Into<String>)

Source from the content-addressed store, hash-verified

102impl Node {
103 /// Create a new change node.
104 pub fn change(hash: impl Into<String>, state: impl Into<String>) -> Self {
105 Self {
106 hash: hash.into(),
107 node_type: NodeType::Change,
108 state: state.into(),
109 }
110 }
111
112 /// Create a new tag node.
113 pub fn tag(hash: impl Into<String>, state: impl Into<String>) -> Self {

Callers 1

recordMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected