From b1849ccefaac8a15bc1c8b6c5ec552df55b4ab27 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 8 Nov 2021 18:31:05 -0800 Subject: [PATCH] Add alias copy_dir = copy_directory. --- voussoirkit/spinal.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/voussoirkit/spinal.py b/voussoirkit/spinal.py index fd86da6..bdd137b 100644 --- a/voussoirkit/spinal.py +++ b/voussoirkit/spinal.py @@ -73,7 +73,7 @@ def callback_progress_v1(path, written_bytes, total_bytes): safeprint.safeprint(status, end=ends) sys.stdout.flush() -def copy_dir( +def copy_directory( source, destination=None, *, @@ -328,6 +328,9 @@ def copy_dir( ) return results +# Alias for your convenience. +copy_dir = copy_directory + def copy_file( source, destination=None,