void FileImpl::removeImpl() { poco_assert (!_path.empty()); int rc; if (!isLinkImpl() && isDirectoryImpl()) rc = rmdir(_path.c_str()); else rc = unlink(const_cast<char*>(_path.c_str())); if (rc) handleLastErrorImpl(_path); }
bool File::isLink() const { return isLinkImpl(); }