Remove mkdir_p from sync/utils.py

This commit is contained in:
tcely authored and GitHub committed 2025-06-02 15:38:36 -04:00
1 parent dc0edef562
commit f097b6b4e0
1 file changed
-8
-8
View File
@@ -117,14 +117,6 @@ def file_is_editable(filepath):
return False
def mkdir_p(arg_path, mode=0o777):
'''
Reminder: mode only affects the last directory
'''
dirpath = Path(arg_path)
return dirpath.mkdir(mode=mode, parents=True, exist_ok=True)
def write_text_file(filepath, filedata):
if not isinstance(filedata, str):
raise TypeError(f'filedata must be a str, got "{type(filedata)}"')