MCPcopy Create free account
hub / github.com/devashishdxt/cli-table / print_vertical_line

Function print_vertical_line

cli-table/src/utils.rs:132–141  ·  view source on GitHub ↗
(
    buffers: &mut Buffers<'_>,
    line: Option<&VerticalLine>,
    color_spec: &ColorSpec,
)

Source from the content-addressed store, hash-verified

130}
131
132pub(crate) fn print_vertical_line(
133 buffers: &mut Buffers<'_>,
134 line: Option<&VerticalLine>,
135 color_spec: &ColorSpec,
136) -> Result<()> {
137 if let Some(line) = line {
138 print_char(buffers, line.filler, color_spec)?;
139 }
140 Ok(())
141}
142
143pub(crate) fn print_str(buffers: &mut Buffers<'_>, s: &str, color_spec: &ColorSpec) -> Result<()> {
144 buffers.set_color(color_spec)?;

Callers 1

buffersMethod · 0.85

Calls 1

print_charFunction · 0.85

Tested by

no test coverage detected