| 1 | /* |
| 2 | This file is part of the KDE Baloo Project |
| 3 | SPDX-FileCopyrightText: 2015 Vishesh Handa <me@vhanda.in> |
| 4 | SPDX-FileCopyrightText: 2010 Tobias Koenig <tokoe@kde.org> |
| 5 | |
| 6 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 7 | */ |
| 8 | |
| 9 | #ifndef BALOO_ENGINE_FSUTILS_H |
| 10 | #define BALOO_ENGINE_FSUTILS_H |
| 11 | |
| 12 | #include <QString> |
| 13 | |
| 14 | namespace Baloo { |
| 15 | namespace FSUtils { |
| 16 | |
| 17 | /** |
| 18 | * Disables filesystem copy-on-write feature on given file or directory. |
| 19 | * Only implemented on Linux and does nothing on other platforms. |
| 20 | */ |
| 21 | void disableCoW(const QString &path); |
| 22 | |
| 23 | } |
| 24 | } |
| 25 | #endif |
| 26 | |