repomix
Version:
A tool to pack repository contents to single file for AI consumption
21 lines • 836 B
TypeScript
export interface GitHubRepoInfo {
owner: string;
repo: string;
ref?: string;
}
export declare const isValidShorthand: (remoteValue: string) => boolean;
export declare const parseRemoteValue: (remoteValue: string, refs?: string[]) => {
repoUrl: string;
remoteBranch: string | undefined;
};
export declare const isValidRemoteValue: (remoteValue: string, refs?: string[]) => boolean;
/**
* Parses remote value and extracts GitHub repository information if it's a GitHub repo
* Returns null if the remote value is not a GitHub repository
*/
export declare const parseGitHubRepoInfo: (remoteValue: string) => GitHubRepoInfo | null;
/**
* Checks if a remote value represents a GitHub repository
*/
export declare const isGitHubRepository: (remoteValue: string) => boolean;
//# sourceMappingURL=gitRemoteParse.d.ts.map