mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-04-28 05:02:26 +00:00
FIX: ensure_dirs for Path.copy function
This commit is contained in:
parent
4694a00aad
commit
d55646b1d4
1 changed files with 1 additions and 1 deletions
2
lib.py
2
lib.py
|
@ -466,6 +466,6 @@ class Path:
|
||||||
path {str} -- path to original file
|
path {str} -- path to original file
|
||||||
copied_path {str} -- path to new file
|
copied_path {str} -- path to new file
|
||||||
'''
|
'''
|
||||||
Path.ensure_dirs(symlink_pointer, file_end=True)
|
Path.ensure_dirs(copied_path, file_end=True)
|
||||||
Command.execute(f'cp {path} {copied_path}')
|
Command.execute(f'cp {path} {copied_path}')
|
||||||
Print.comment(f'Copied {path} to {copied_path}')
|
Print.comment(f'Copied {path} to {copied_path}')
|
||||||
|
|
Loading…
Add table
Reference in a new issue