| 298 | } |
| 299 | |
| 300 | std::string GetTrashDirectory() |
| 301 | { |
| 302 | std::string const trashDir = base::JoinPath(GetPlatform().SettingsDir(), std::string{kTrashDirectoryName}); |
| 303 | if (!Platform::IsFileExistsByFullPath(trashDir) && !Platform::MkDirChecked(trashDir)) |
| 304 | CHECK(false, ("Failed to create .Trash directory.")); |
| 305 | return trashDir; |
| 306 | } |
| 307 | |
| 308 | std::string RemoveInvalidSymbols(std::string const & name) |
| 309 | { |
no test coverage detected