存储库源代码中的 gitc 文件系统是什么?

bec*_*cks 8 git repo

我使用基本的 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 上使用吗?

Mik*_*ger 0

gitc 逻辑只能由 Google 内部员工使用,这就是为什么它不会显示在任何正常输出中。它也已被弃用并且不受真正支持,因此希望有一天我们会删除它。