File indexing completed on 2024-04-21 04:52:29

0001 /*
0002     SPDX-FileCopyrightText: 2017 Nicolas Carion
0003     SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 */
0005 
0006 #pragma once
0007 #include <QUrl>
0008 
0009 // Returns true if the given file is on a removable device
0010 
0011 bool isOnRemovableDevice(const QString &path);
0012 bool isOnRemovableDevice(const QUrl &file);