repomix
Version:
A tool to pack repository contents to single file for AI consumption
15 lines (14 loc) • 623 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 { isExplicitRemoteUrl } from './gitRemoteUrl.js';
export declare const isValidRemoteValue: (remoteValue: string, refs?: string[]) => boolean;
export declare const parseGitHubRepoInfo: (remoteValue: string) => GitHubRepoInfo | null;
export declare const isGitHubRepository: (remoteValue: string) => boolean;