default: {
    getGithubBranches: ((opt?) => Promise<void | {
        active: boolean;
        branch: string;
    }[]>);
    getGithubCurrentBranch: ((opt?) => Promise<string | void>);
    getGithubRemote: ((name?, opt?) => Promise<string | void>);
    getGithubRepoUrl: ((path, opt?) => Promise<{
        rawURL: string;
        remoteURL: string;
    }>);
    getGithubRootDir: ((opt?) => Promise<string>);
    getIgnores: ((param0) => Promise<string[]>);
} = ...

Type declaration

  • getGithubBranches: ((opt?) => Promise<void | {
        active: boolean;
        branch: string;
    }[]>)
      • (opt?): Promise<void | {
            active: boolean;
            branch: string;
        }[]>
      • get current branch informations

        Parameters

        Returns Promise<void | {
            active: boolean;
            branch: string;
        }[]>

  • getGithubCurrentBranch: ((opt?) => Promise<string | void>)
      • (opt?): Promise<string | void>
      • get current branch

        Parameters

        Returns Promise<string | void>

  • getGithubRemote: ((name?, opt?) => Promise<string | void>)
  • getGithubRepoUrl: ((path, opt?) => Promise<{
        rawURL: string;
        remoteURL: string;
    }>)
      • (path, opt?): Promise<{
            rawURL: string;
            remoteURL: string;
        }>
      • Get github url for single file or folder

        Parameters

        • path: string

          path subfolder or file

        • opt: infoOptions = ...

        Returns Promise<{
            rawURL: string;
            remoteURL: string;
        }>

        safe url

  • getGithubRootDir: ((opt?) => Promise<string>)
  • getIgnores: ((param0) => Promise<string[]>)
      • (param0): Promise<string[]>
      • get all ignored files by .gitignore

        Parameters

        • param0: Object

        Returns Promise<string[]>