Searched refs:current_parent (Results 1 – 2 of 2) sorted by relevance
71 current_parent = None74 result = native_util._find_parent(abs_path, current_parent)76 current_parent = 'a/b/c/d/e'77 result = native_util._find_parent(abs_path, current_parent)79 current_parent = 'a/b/c'80 expected = current_parent81 result = native_util._find_parent(abs_path, current_parent)83 current_parent = 'a/b/f'85 result = native_util._find_parent(abs_path, current_parent)
69 def _find_parent(abs_path, current_parent): argument80 if not current_parent:82 if common_util.is_source_under_relative_path(abs_path, current_parent):83 return current_parent84 if common_util.is_source_under_relative_path(current_parent, abs_path):87 os.path.dirname(abs_path), os.path.dirname(current_parent))