MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / write

Method write

sea-orm-codegen/src/entity/writer.rs:401–408  ·  view source on GitHub ↗
(lines: &mut Vec<String>, code_blocks: Vec<TokenStream>)

Source from the content-addressed store, hash-verified

399 }
400
401 pub fn write(lines: &mut Vec<String>, code_blocks: Vec<TokenStream>) {
402 lines.extend(
403 code_blocks
404 .into_iter()
405 .map(|code_block| code_block.to_string())
406 .collect::<Vec<_>>(),
407 );
408 }
409
410 pub fn write_doc_comment(lines: &mut Vec<String>) {
411 let ver = env!("CARGO_PKG_VERSION");

Callers 4

run_generate_commandFunction · 0.80
uploadFunction · 0.80
uploadFunction · 0.80
uploadFunction · 0.80

Calls 1

into_iterMethod · 0.80

Tested by

no test coverage detected