Lines Matching refs:local

54     remote_path = "data/local/tmp"
55 remote_dir_path = "data/local/tmp/it_send_dir"
166 + f"{'local storage path'.rjust(20, ' ')}: {cls.local_path}\n" \
192 if opt := input(f"Default local storage path? [{cls.local_path}]\n").strip():
300 def get_local_md5(local):
302 with open(local, "rb") as f:
337 def check_dir(local, remote, is_single_dir=False):
374 file_path = os.path.join(os.getcwd(), local) + file_name
387 def _check_file(local, remote):
389 local_size = os.path.getsize(local)
396 local_md5 = get_local_md5(local)
412 def check_file_send(local, remote):
413 local_path = os.path.join(GP.local_path, local)
419 def check_file_recv(remote, local):
420 local_path = os.path.join(GP.local_path, local)
479 local, remote = cmd.split()[-2:]
481 remote, local = cmd.split()[-2:]
482 if os.path.isfile(local):
483 return _check_file(local, remote)
485 return check_dir(local, remote)
771 def check_process_mixed(process_num, timeout, local, remote):
823 def make_multiprocess_file(local, remote, mode, num, task_type):
828 file_list = [f"{GP.hdc_head} file send {local} {remote}_{i}" for i in range(num)]
830 file_list = [f"{GP.hdc_head} file recv {remote}_{i} {local}_{i}" for i in range(num)]
835 file_list = [f"{GP.hdc_head} file send {local} {remote}" for _ in range(num)]
837 file_list = [f"{GP.hdc_head} file recv {remote} {local}" for _ in range(num)]
858 if _check_file(local, f"{remote}_{i}"):
863 if _check_file(f"{local}_{i}", f"{remote}_{i}"):
870 end_of_file_name = os.path.basename(local)
871 if check_dir(local, f"{remote}/{end_of_file_name}", is_single_dir=True):
877 local = os.path.join(local, end_of_file_name)
878 if check_dir(f"{local}", f"{remote}", is_single_dir=True):
925 print(f"--> your local [{version}] is"