Skip to content

uucore/fsext: do not use dangerous macro for nul terminated UTF16 str…

Codecov / codecov/patch succeeded Dec 20, 2023 in 0s

44.11% of diff hit (target 82.93%)

View this Pull Request on Codecov

44.11% of diff hit (target 82.93%)

Annotations

Check warning on line 58 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L57-L58

Added lines #L57 - L58 were not covered by tests

Check warning on line 60 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L60

Added line #L60 was not covered by tests

Check warning on line 62 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L62

Added line #L62 was not covered by tests

Check warning on line 182 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L182

Added line #L182 was not covered by tests

Check warning on line 186 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L186

Added line #L186 was not covered by tests

Check warning on line 226 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L226

Added line #L226 was not covered by tests

Check warning on line 228 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L228

Added line #L228 was not covered by tests

Check warning on line 242 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L242

Added line #L242 was not covered by tests

Check warning on line 244 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L244

Added line #L244 was not covered by tests

Check warning on line 259 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L259

Added line #L259 was not covered by tests

Check warning on line 264 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L261-L264

Added lines #L261 - L264 were not covered by tests

Check warning on line 335 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L335

Added line #L335 was not covered by tests

Check warning on line 355 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L355

Added line #L355 was not covered by tests

Check warning on line 569 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L569

Added line #L569 was not covered by tests

Check warning on line 572 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L572

Added line #L572 was not covered by tests

Check warning on line 592 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L592

Added line #L592 was not covered by tests

Check warning on line 594 in src/uucore/src/lib/features/fsext.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/fsext.rs#L594

Added line #L594 was not covered by tests