QGIS/python/core/auto_additions/qgsfileutils.py
Nyall Dawson f21722a0f1 [sipify] Minor cleanup to auto additions
Condense injections into a single block instead of multiple
separate blocks
2024-09-09 16:56:29 +10: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:
pass