refactor(3p/nix/libutil): Replace chomp() with absl::strings

This commit is contained in:
Vincent Ambo 2020-05-24 01:36:11 +01:00
parent 10481d2586
commit 06d7b4aebd
15 changed files with 40 additions and 26 deletions

View file

@ -324,9 +324,6 @@ MakeError(Interrupted, BaseError)
string concatStringsSep(const string& sep, const Strings& ss);
string concatStringsSep(const string& sep, const StringSet& ss);
/* Remove trailing whitespace from a string. */
string chomp(const string& s);
/* Remove whitespace from the start and end of a string. */
string trim(const string& s, const string& whitespace = " \n\r\t");