MCPcopy Create free account
hub / github.com/chc4/lineiform / add_source

Method add_source

tangle/src/region.rs:160–164  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

158 }
159
160 pub fn add_source(&mut self) -> PortIdx {
161 let p = self.add_port();
162 self.sources.push(p);
163 p
164 }
165
166 pub fn add_sink(&mut self) -> PortIdx {
167 let p = self.add_port();

Callers 1

add_argumentMethod · 0.80

Calls 2

add_portMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected