MCPcopy
hub / github.com/git-lfs/git-lfs / currentRemoteRef

Function currentRemoteRef

commands/commands.go:132–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132func currentRemoteRef() *git.Ref {
133 return git.NewRefUpdate(cfg.Git, cfg.PushRemote(), cfg.CurrentRef(), nil).RemoteRef()
134}
135
136func buildFilepathFilter(config *config.Configuration, includeArg, excludeArg *string, useFetchOptions bool) *filepathfilter.Filter {
137 return buildFilepathFilterWithPatternType(config, includeArg, excludeArg, useFetchOptions, filepathfilter.GitIgnore)

Callers 3

newDownloadQueueFunction · 0.85
uploadsWithObjectIDsFunction · 0.85
filterCommandFunction · 0.85

Calls 4

NewRefUpdateFunction · 0.92
PushRemoteMethod · 0.80
CurrentRefMethod · 0.80
RemoteRefMethod · 0.45

Tested by

no test coverage detected