/* This file is part of Telegram Desktop, the official desktop application for the Telegram messaging service. For license and copyright information please follow this link: https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once namespace Storage { using CollectGoodFiles = Fn&&)>)>; void ClearLegacyFiles(const QString &base, CollectGoodFiles filter); namespace details { std::vector CollectFiles( const QString &base, size_type limit, const base::flat_set &skip); bool RemoveLegacyFile(const QString &path); } // namespace details } // namespace Storage