Skip to content

Conversation

@Mikadore
Copy link
Contributor

This is (hopefully) the last PR in the 'enable-arbitrary-binary-stdout' refactor saga.
It just changes CmdResults inner representation to Vec<u8>, and then adjusts where necessary.

Possible future consideration:

Caching the &str and String representations after they're used at least once, could help performance. (Not in this PR)

@tertsdiepraam tertsdiepraam linked an issue May 27, 2021 that may be closed by this pull request
Copy link
Contributor

@sylvestre sylvestre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix
unused import: std::str::from_utf8``

@Mikadore
Copy link
Contributor Author

Sorry, stupid VS Code :(

@sylvestre sylvestre merged commit 9442f26 into uutils:master May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests: Replace String with Vec<u8> for stdout (stderr?)

2 participants