Lines Matching refs:path
28 if not os.path.isdir(dest_full_path):
38 if not os.path.isdir(dest_full_path):
43 if os.path.isfile(child_full_name):
56 if not os.path.isdir(dest_full_path):
66 if not os.path.isfile(src_full_name):
70 dest_dir = os.path.dirname(dest_file)
71 if not os.path.isdir(dest_dir):
81 if not os.path.isfile(src_full_name):
85 if not os.path.isdir(dest_dir):
101 if os.path.islink(item_full_path) or os.path.isfile(item_full_path):
103 elif os.path.isdir(item_full_path):
112 src_mod_time = os.path.getmtime(src)
113 if os.path.isfile(dest) or os.path.isdir(dest):
114 dest_mod_time = os.path.getmtime(dest)
120 if os.path.exists(entry):
147 if not os.path.isfile(file_name):
159 path = top_dir_ + entry
160 print "remove " + path
161 os.system("rm -f " + path)