MCPcopy Index your code
hub / github.com/chasingboy/Xtools / update_file

Function update_file

xtools.py:594–595  ·  view source on GitHub ↗
(view, edit, text)

Source from the content-addressed store, hash-verified

592
593
594def update_file(view, edit, text):
595 view.replace(edit, sublime.Region(0, view.size()), text.strip())

Callers 10

removeMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected