MCPcopy
hub / github.com/mli/autocut / write

Method write

autocut/utils.py:70–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 self.lines = []
69
70 def write(self):
71 with open(self.filename, "wb") as f:
72 f.write("\n".join(self.lines).encode(self.encoding, "replace"))
73
74 def tasks(self):
75 # get all tasks with their status

Callers 5

write_mdMethod · 0.95
_save_mdMethod · 0.95
trans_srt_to_mdFunction · 0.95
_save_srtMethod · 0.80
compact_rstFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected