MCPcopy Create free account
hub / github.com/MCSLTeam/MCSL2 / openLocalFile

Function openLocalFile

MCSL2Lib/utils.py:231–233  ·  view source on GitHub ↗

打开本地文件(夹)

(FilePath)

Source from the content-addressed store, hash-verified

229
230
231def openLocalFile(FilePath):
232 """打开本地文件(夹)"""
233 QDesktopServices.openUrl(QUrl.fromLocalFile(FilePath))
234
235
236def writeFile(file: str, content: str):

Callers 5

openCurrentTabFolderMethod · 0.90
__init__Method · 0.90
scrollAreaProcessorMethod · 0.90
initSlotsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected