Home | History | Annotate | Download | only in build

Lines Matching refs:dir_name

22 def copy_dir(src_top, dest_top, dir_name, cp_option = ""):
23 """copy all the files under src_top/dir_name to dest_top/dir_name."""
24 src_full_path = src_top + "/" + dir_name
26 [mid_path, leaf_path] = dir_name.rsplit("/", 1)
34 def copy_dir_only_file(src_top, dest_top, dir_name):
35 """copy only files directly under the given dir_name"""
36 src_full_path = src_top + "/" + dir_name
37 dest_full_path = dest_top + "/" + dir_name
91 def list_files(dir_name, dir_exclusion_filter = ""):
92 """recursively list all files under given dir_name directory.
96 if dir_exclusion_filter != "" and dir_name.endswith(dir_exclusion_filter):
98 for item in os.listdir(dir_name):
99 item_full_path = dir_name + "/" + item