首页 > 解决方案 > 来自 repo 源代码的 gitc 文件系统是什么?

问题描述

我使用基本的 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.
  """

使用什么 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)

什么是 ia GITC 文件系统?它在 Linux 上可用吗?

标签: gitrepo

解决方案


推荐阅读