MCPcopy
hub / github.com/victorporof/Sublime-HTMLPrettify / get_temp_file_path

Function get_temp_file_path

src/py/utils/file_utils.py:14–16  ·  view source on GitHub ↗

Gets the path to a constant temporary file

()

Source from the content-addressed store, hash-verified

12
13
14def get_temp_file_path():
15 """Gets the path to a constant temporary file"""
16 return join(get_root_dir(), str(uuid4()))
17
18
19def save_text_to_file(text, file_path):

Callers 1

save_text_to_temp_fileFunction · 0.85

Calls 1

get_root_dirFunction · 0.85

Tested by

no test coverage detected