crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
0324e075
ROOT
/
go
/
libraries
/
doltcore
/
env
/
remotes.go
Search
History
532 lines
|
ISO-8859-1
|
14 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
NoRemote
ErrBranchDoesNotMatchUpstream
ErrUpstreamBranchAlreadySet
ErrNoUpstreamForBranch
ErrFailedToReadDb
ErrUnknownBranch
ErrCannotSetUpstreamForTag
ErrCannotPushRef
ErrNoRefSpecForRemote
ErrInvalidSetUpstreamArgs
ErrInvalidFetchSpec
ErrPullWithRemoteNoUpstream
ErrPullWithNoRemoteAndNoUpstream
IsEmptyRemote
(r Remote)
:
bool
Remote
Name
:
string
Url
:
string
FetchSpecs
:
[]string
Params
:
map[string]string
NewRemote
(name, url string, params map[string]string)
:
Remote
PushOpts
SrcRef
:
ref.DoltRef
DestRef
:
ref.DoltRef
RemoteRef
:
ref.DoltRef
Remote
:
Remote
Mode
:
ref.UpdateMode
SetUpstream
:
bool
NewPushOpts
(ctx context.Context, apr *argparser.ArgParseResults, rsr RepoStateReader, ddb *doltdb.DoltDB, force bool, setUpstream bool)
:
(*PushOpts, error)
NewFetchOpts
(args []string, rsr RepoStateReader)
:
(Remote, []ref.RemoteRefSpec, error)
ParseRSFromArgs
(remName string, args []string)
:
([]ref.RemoteRefSpec, error)
disambiguateRefSpecStr
(ctx context.Context, ddb *doltdb.DoltDB, refSpecStr string)
:
(string, error)
GetTrackingRef
(branchRef ref.DoltRef, remote Remote)
:
(ref.DoltRef, error)
PullSpec
Msg
:
string
Squash
:
bool
Noff
:
bool
NoCommit
:
bool
NoEdit
:
bool
Force
:
bool
RemoteName
:
string
Remote
:
Remote
RefSpecs
:
[]ref.RemoteRefSpec
Branch
:
ref.DoltRef
NewPullSpec
(_ context.Context, rsr RepoStateReader, remoteName, remoteRefName string, squash, noff, noCommit, noEdit, force, remoteOnly bool)
:
(*PullSpec, error)
GetAbsRemoteUrl
(fs filesys2.Filesys, cfg config.ReadableConfig, urlArg string)
:
(string, string, error)
getAbsFileRemoteUrl
(u *url.URL, fs filesys2.Filesys)
:
(string, error)
GetDefaultBranch
(dEnv *DoltEnv, branches []ref.DoltRef)
:
string
*Remote
GetParam
(pName string)
:
(string, bool)
GetParamOrDefault
(pName, defVal string)
:
string
GetRemoteDB
(ctx context.Context, nbf *types.NomsBinFormat, dialer dbfactory.GRPCDialProvider)
:
(*doltdb.DoltDB, error)
Prepare
(ctx context.Context, nbf *types.NomsBinFormat, dialer dbfactory.GRPCDialProvider)
:
error
GetRemoteDBWithoutCaching
(ctx context.Context, nbf *types.NomsBinFormat, dialer dbfactory.GRPCDialProvider)
:
(*doltdb.DoltDB, error)
All occurrences
Please wait...
Page is in error, reload to recover