QGIS/python/core/auto_additions/qgsfileutils.py
2024-12-03 07:47:10 +00:00

20 lines
1.3 KiB
Python

# The following has been generated automatically from src/core/qgsfileutils.h
try:
QgsFileUtils.representFileSize = staticmethod(QgsFileUtils.representFileSize)
QgsFileUtils.extensionsFromFilter = staticmethod(QgsFileUtils.extensionsFromFilter)
QgsFileUtils.wildcardsFromFilter = staticmethod(QgsFileUtils.wildcardsFromFilter)
QgsFileUtils.fileMatchesFilter = staticmethod(QgsFileUtils.fileMatchesFilter)
QgsFileUtils.ensureFileNameHasExtension = staticmethod(QgsFileUtils.ensureFileNameHasExtension)
QgsFileUtils.addExtensionFromFilter = staticmethod(QgsFileUtils.addExtensionFromFilter)
QgsFileUtils.stringToSafeFilename = staticmethod(QgsFileUtils.stringToSafeFilename)
QgsFileUtils.findClosestExistingPath = staticmethod(QgsFileUtils.findClosestExistingPath)
QgsFileUtils.findFile = staticmethod(QgsFileUtils.findFile)
QgsFileUtils.driveType = staticmethod(QgsFileUtils.driveType)
QgsFileUtils.pathIsSlowDevice = staticmethod(QgsFileUtils.pathIsSlowDevice)
QgsFileUtils.sidecarFilesForPath = staticmethod(QgsFileUtils.sidecarFilesForPath)
QgsFileUtils.renameDataset = staticmethod(QgsFileUtils.renameDataset)
QgsFileUtils.splitPathToComponents = staticmethod(QgsFileUtils.splitPathToComponents)
QgsFileUtils.uniquePath = staticmethod(QgsFileUtils.uniquePath)
except (NameError, AttributeError):
pass