"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pkg/cmdutil/factory.go" between
gh-cli-1.11.0.tar.gz and gh-cli-1.12.0.tar.gz

About: GitHub CLI is GitHub’s official command line tool.

factory.go  (gh-cli-1.11.0):factory.go  (gh-cli-1.12.0)
package cmdutil package cmdutil
import ( import (
"net/http" "net/http"
"github.com/cli/cli/context" "github.com/cli/cli/context"
"github.com/cli/cli/internal/config" "github.com/cli/cli/internal/config"
"github.com/cli/cli/internal/ghrepo" "github.com/cli/cli/internal/ghrepo"
"github.com/cli/cli/pkg/extensions"
"github.com/cli/cli/pkg/iostreams" "github.com/cli/cli/pkg/iostreams"
) )
type Browser interface { type Browser interface {
Browse(string) error Browse(string) error
} }
type Factory struct { type Factory struct {
IOStreams *iostreams.IOStreams IOStreams *iostreams.IOStreams
Browser Browser Browser Browser
HttpClient func() (*http.Client, error) HttpClient func() (*http.Client, error)
BaseRepo func() (ghrepo.Interface, error) BaseRepo func() (ghrepo.Interface, error)
Remotes func() (context.Remotes, error) Remotes func() (context.Remotes, error)
Config func() (config.Config, error) Config func() (config.Config, error)
Branch func() (string, error) Branch func() (string, error)
ExtensionManager extensions.ExtensionManager
// Executable is the path to the currently invoked gh binary // Executable is the path to the currently invoked gh binary
Executable string Executable string
} }
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)