MCPcopy Create free account
hub / github.com/echQoQ/RustSL / list_bundle_files

Function list_bundle_files

gui/widgets.py:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 self.setCurrentIndex(i)
71 return
72def list_bundle_files():
73 bundle_dir = os.path.join(os.getcwd(), 'bundle')
74 if not os.path.isdir(bundle_dir):
75 return []
76 return [f for f in os.listdir(bundle_dir) if os.path.isfile(os.path.join(bundle_dir, f))]
77
78class BundleComboBox(QComboBox):
79 def __init__(self, parent=None):

Callers 1

refreshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected