Function: qgsVsiPrefix¶
- qgis.core.qgsVsiPrefix(path: str | None) str ¶
Returns a the vsi prefix which corresponds to a file
path
, or an empty string if the path is not associated with a vsi prefix.Deprecated since version 3.44: Use
QgsGdalUtils.vsiPrefixForPath()
instead.- Parameters:
path (Optional[str])
- Return type:
str