MCPcopy Create free account
hub / github.com/KDE/kid3 / fileIsWritable

Method fileIsWritable

src/plugins/kid3qml/scriptutils.cpp:247–250  ·  view source on GitHub ↗

* Check if file is writable. * @param filePath path to file * @return true if file is writable. */

Source from the content-addressed store, hash-verified

245 * @return true if file is writable.
246 */
247bool ScriptUtils::fileIsWritable(const QString& filePath)
248{
249 return QFileInfo(filePath).isWritable();
250}
251
252/**
253 * Get permissions of file.

Callers

nothing calls this directly

Calls 1

QFileInfoClass · 0.50

Tested by

no test coverage detected