Skip to content

lscpu: Add option --json

Codecov / codecov/patch failed Jul 24, 2024 in 0s

0.00% of diff hit (target 38.75%)

View this Pull Request on Codecov

0.00% of diff hit (target 38.75%)

Annotations

Check warning on line 21 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L21

Added line #L21 was not covered by tests

Check warning on line 28 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L28

Added line #L28 was not covered by tests

Check warning on line 31 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L31

Added line #L31 was not covered by tests

Check warning on line 39 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L36-L39

Added lines #L36 - L39 were not covered by tests

Check warning on line 43 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L41-L43

Added lines #L41 - L43 were not covered by tests

Check warning on line 53 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L51-L53

Added lines #L51 - L53 were not covered by tests

Check warning on line 61 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L59-L61

Added lines #L59 - L61 were not covered by tests

Check warning on line 63 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L63

Added line #L63 was not covered by tests

Check warning on line 86 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L86

Added line #L86 was not covered by tests

Check warning on line 89 in src/uu/lscpu/src/lscpu.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/lscpu/src/lscpu.rs#L89

Added line #L89 was not covered by tests