Lines Matching refs:arg
23 def input_path_check(arg):
25 Argument check, which is used to check whether the specified arg is a path.
26 :param arg: the arg to check.
27 :return: Check result, which is False if the arg is invalid.
29 if not os.path.isdir(arg) and not os.path.isfile(arg):
31 return arg
34 def jar_name_check(arg):
36 Argument check, which is used to check whether the specified arg is none.
37 :param arg: the arg to check.
38 :return: Check result, which is False if the arg is invalid.
40 if arg is None:
42 return arg