[Issue#] N/A
[Feature] WrtUtilStringToLower is not used anywhere
[Cause] WrtUtilStringToLower is not used anywhere
[Solution] Remove the function
[Verification] Build all repositories
Change-Id: Ie1a20d347102ba2600e19e487815961c08007917
bool WrtUtilRemove(const std::string &path);
/**
- * This function converts a string to lowercase
- *
- * @param[in] in the string to be converted
- * @param[out] out the string for placing converted values in
- *
- * The previous data stored in string out will be replaced with converted
- * string from string in
- */
-void WrtUtilStringToLower(std::string &out, const std::string &in);
-
-/**
* Checks if path exists and is a regular file
*
* @param[in] path the string representing path to check
return rv;
}
-void WrtUtilStringToLower(std::string &out, const std::string &in)
-{
- out.clear();
- for (std::string::const_iterator it=in.begin(); it<in.end(); ++it) {
- out += static_cast<char>(tolower(*it));
- }
-}
-
bool WrtUtilFileExists(const std::string &path)
{
struct stat tmp;