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
14namespace Baloo {
15namespace 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 */
21void disableCoW(const QString &path);
22
23}
24}
25#endif
26

source code of baloo/src/engine/fsutils.h