File indexing completed on 2024-04-21 03:51:39

0001 /*
0002     This file is part of the KDE Baloo Project
0003     SPDX-FileCopyrightText: 2015 Vishesh Handa <me@vhanda.in>
0004     SPDX-FileCopyrightText: 2010 Tobias Koenig <tokoe@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef BALOO_ENGINE_FSUTILS_H
0010 #define BALOO_ENGINE_FSUTILS_H
0011 
0012 #include <QString>
0013 
0014 namespace Baloo {
0015 namespace FSUtils {
0016 
0017 /**
0018  * Disables filesystem copy-on-write feature on given file or directory.
0019  * Only implemented on Linux and does nothing on other platforms.
0020  */
0021 void disableCoW(const QString &path);
0022 
0023 }
0024 }
0025 #endif