2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-26 20:37:09 +00:00

27 lines
648 B
C
Raw Normal View History

/*
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(FnMut<void(base::flat_set<QString>&&)>)>;
void ClearLegacyFiles(const QString &base, CollectGoodFiles filter);
namespace details {
std::vector<QString> CollectFiles(
const QString &base,
size_type limit,
const base::flat_set<QString> &skip);
bool RemoveLegacyFile(const QString &path);
} // namespace details
} // namespace Storage