Kaydet (Commit) 7ca858c8 authored tarafından Ozan Çağlayan's avatar Ozan Çağlayan

util: remove unused copy_dir() too

üst 20bc8b5c
......@@ -442,10 +442,6 @@ def get_file_hashes(top, excludePrefix=None, removePrefix=None):
if is_included(root):
yield calculate_hash(root)
def copy_dir(src, dest):
"""Copy source dir to destination dir recursively."""
shutil.copytree(src, dest)
def check_file_hash(filename, hash):
"""Check the file's integrity with a given hash."""
return sha1_file(filename) == hash
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment