mirror of
https://github.com/textmate/textmate.git
synced 2026-01-15 01:38:02 -05:00
Remove unused function: is_trashed
The intent was to use this to decide if the proxy icon should be hidden but the API used by the function is deprecated on 10.8.
This commit is contained in:
@@ -400,12 +400,6 @@ namespace path
|
||||
return (pathIsLocal == kCFBooleanTrue);
|
||||
}
|
||||
|
||||
bool is_trashed (std::string const& path)
|
||||
{
|
||||
Boolean res;
|
||||
return DetermineIfPathIsEnclosedByFolder(kOnAppropriateDisk, kTrashFolderType, (UInt8 const*)path.c_str(), false, &res) == noErr ? res : false;
|
||||
}
|
||||
|
||||
CFIndex label_index (std::string const& path)
|
||||
{
|
||||
CFIndex res = 0;
|
||||
|
||||
@@ -65,7 +65,6 @@ namespace path
|
||||
PUBLIC bool is_directory (std::string const& path);
|
||||
PUBLIC bool is_executable (std::string const& path);
|
||||
PUBLIC bool is_local (std::string const& path);
|
||||
PUBLIC bool is_trashed (std::string const& path);
|
||||
|
||||
PUBLIC std::string for_fd (int fd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user