我使用基本的 repo 命令来下载 Android 源代码。然后决定浏览一下repo的源码。事情看起来很简单,但有一些事情我没有找到解释,谷歌搜索也没有帮助。
gitc-init 命令有什么作用?
我使用了 repo init 那么 repo init 和 repo gitc-init 之间有什么区别
在 repo 的源代码中
def gitc_parse_clientdir(gitc_fs_path):
"""Parse a path in the GITC FS and return its client name.
Args:
gitc_fs_path: A subdirectory path within the GITC_FS_ROOT_DIR.
Returns:
The GITC client name.
"""
Run Code Online (Sandbox Code Playgroud)
可以使用哪些 gitc 客户端?
在_Init函数中
try:
if gitc_init:
gitc_manifest_dir = get_gitc_manifest_dir()
if not gitc_manifest_dir:
print('fatal: GITC filesystem is not available. Exiting...',
file=sys.stderr)
sys.exit(1)
Run Code Online (Sandbox Code Playgroud)
什么是 ia GITC 文件系统?它可以在 Linux 上使用吗?
| 归档时间: |
|
| 查看次数: |
677 次 |
| 最近记录: |