Function tryRemove

If 'name' exists, then remove. Otherwise, do nothing and return false.

bool tryRemove(T) (
  T name
)
if (is(T == string) || is(T == Path));

Supports Path, command echoing and dryrun.

Returns

Success?