Lines Matching refs:path
18 gitmodules_file = os.path.join(git_root, '.gitmodules')
29 path = sub_info[1].lstrip('./')
31 config_key_arg = 'submodule.{}.url'.format(path)
34 submodule_dict[path] = Submodule(rel_url, rev)
59 def redirect_submodule(path, submods, rev): argument
62 if path.lstrip('/').startswith(os.path.join(key, '')):
63 … return value.url.replace('.git', ''), value.rev, re.sub('^/{}/'.format(key), '', path)
65 return IDF_REPO, rev, path
77 abs_path = os.path.join(app_config.idf_path, rel_path.lstrip('/'))
98 if not os.path.exists(abs_path):
100 elif is_dir and not os.path.isdir(abs_path):
104 elif not is_dir and os.path.isdir(abs_path):
111 elif os.path.exists(abs_path) and not os.path.isdir(abs_path):
152 … url = '{}.html'.format(os.path.join(return_path, '../../..', language, env.config.release,