@oss-autopilot/core - v1.6.3
    Preparing search index...

    Function splitRepo

    • Splits an "owner/repo" string into its owner and repo components.

      Parameters

      • repoFullName: string

        Full repository name in "owner/repo" format

      Returns { owner: string; repo: string }

      Object with owner and repo string properties

      If the input does not contain both an owner and repo separated by /

      splitRepo('facebook/react')
      // { owner: "facebook", repo: "react" }