If a file is moved to the Trash then a class implementing FilePresenter will have presentedSubitem(at:didMoveTo:) called. The didMoveTo string seems to follow this pattern:
file:///Users/<USER>/.Trash/<FILENAME>
Of course I can examine the path and look for a component .Trash, but this feels unreliable. Is there a better way?
file:///Users/<USER>/.Trash/<FILENAME>
Of course I can examine the path and look for a component .Trash, but this feels unreliable. Is there a better way?