MCPcopy Create free account
hub / github.com/chasingboy/Xtools / run

Method run

xtools.py:336–339  ·  view source on GitHub ↗
(self, edit)

Source from the content-addressed store, hash-verified

334
335class Base64DecodeTextCommand(sublime_plugin.TextCommand):
336 def run(self, edit):
337 text = get_buffer_text(self.view)
338 text = base64.b64decode(text.encode())
339 panel_print(self.view, edit, text.decode())
340
341
342class Base64EncodeLineCommand(sublime_plugin.TextCommand):

Callers

nothing calls this directly

Calls 2

get_buffer_textFunction · 0.85
panel_printFunction · 0.85

Tested by

no test coverage detected