Function listObjects

  • Preforms a walk of the git data structure, listing all objects found by the walk. This starts from all the objects in the wants list, walking across all dependent objects while skipping any objects in the haves list. This results in a complete list of objects that the haves require.

    Used by generatePackRequest to determine which objects are required in the packFile. The walk is preformed recursively and concurrently using promises. Inspecting the git data structure objects is done using isomorphic-git.

    Parameters

    • __namedParameters: {
          dir: string;
          efs: EncryptedFS;
          gitDir: string;
          haves: ObjectIdList;
          wants: ObjectIdList;
      }
    • ctx: ContextTimed

    Returns Promise<ObjectIdList>

Generated using TypeDoc