MCPcopy Index your code
hub / github.com/endbasic/endbasic / finish_source

Function finish_source

core/tests/testutils/mod.rs:76–80  ·  view source on GitHub ↗
(sources: &mut Vec<String>, source: &mut Option<String>)

Source from the content-addressed store, hash-verified

74 }
75
76 fn finish_source(sources: &mut Vec<String>, source: &mut Option<String>) {
77 if let Some(source) = source.take() {
78 sources.push(source.trim_end().to_owned());
79 }
80 }
81
82 #[derive(Clone, Copy, Eq, PartialEq)]
83 enum Section {

Callers 1

read_sourcesFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected