Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-workhorse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-workhorse
Commits
a3be5472
Commit
a3be5472
authored
Apr 26, 2017
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gitaly-proto 0.5.1
parent
b0b91eb5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
11 deletions
+55
-11
vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
+1
-1
vendor/gitlab.com/gitlab-org/gitaly-proto/go/helper/stream.go
...or/gitlab.com/gitlab-org/gitaly-proto/go/helper/stream.go
+44
-0
vendor/vendor.json
vendor/vendor.json
+10
-10
No files found.
vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
View file @
a3be5472
0.5.
0
0.5.
1
vendor/gitlab.com/gitlab-org/gitaly-proto/go/helper/stream.go
0 → 100644
View file @
a3be5472
package
helper
import
(
"io"
)
// NewReceiveReader turns receiver into an io.Reader. Errors from the
// receiver function are passed on unmodified. This means receiver should
// emit io.EOF when done.
func
NewReceiveReader
(
receiver
func
()
([]
byte
,
error
))
io
.
Reader
{
return
&
receiveReader
{
receiver
:
receiver
}
}
type
receiveReader
struct
{
receiver
func
()
([]
byte
,
error
)
data
[]
byte
err
error
}
func
(
rr
*
receiveReader
)
Read
(
p
[]
byte
)
(
int
,
error
)
{
if
len
(
rr
.
data
)
==
0
{
rr
.
data
,
rr
.
err
=
rr
.
receiver
()
}
n
:=
copy
(
p
,
rr
.
data
)
rr
.
data
=
rr
.
data
[
n
:
]
if
len
(
rr
.
data
)
==
0
{
return
n
,
rr
.
err
}
return
n
,
nil
}
// NewSendWriter turns sender into an io.Writer. The number of 'bytes
// written' reported back is always len(p).
func
NewSendWriter
(
sender
func
(
p
[]
byte
)
error
)
io
.
Writer
{
return
&
sendWriter
{
sender
:
sender
}
}
type
sendWriter
struct
{
sender
func
([]
byte
)
error
}
func
(
sw
*
sendWriter
)
Write
(
p
[]
byte
)
(
int
,
error
)
{
return
len
(
p
),
sw
.
sender
(
p
)
}
vendor/vendor.json
View file @
a3be5472
...
...
@@ -128,20 +128,20 @@
"revisionTime"
:
"2016-11-17T07:43:51Z"
},
{
"checksumSHA1"
:
"
qnITGZYkVMWqbOeVVt6jMKJ544M
="
,
"checksumSHA1"
:
"
8+jRNQyKFIBwS222eR6mKOhgXrY
="
,
"path"
:
"gitlab.com/gitlab-org/gitaly-proto/go"
,
"revision"
:
"
52f77b23166e640a932e50223472d761404afb42
"
,
"revisionTime"
:
"2017-0
3-29T16:52:58
Z"
,
"version"
:
"v0.5.
0
"
,
"versionExact"
:
"v0.5.
0
"
"revision"
:
"
fcdb86aa58b7d3a729b4bb17fef12bf0a3fba131
"
,
"revisionTime"
:
"2017-0
4-25T15:29:29
Z"
,
"version"
:
"v0.5.
1
"
,
"versionExact"
:
"v0.5.
1
"
},
{
"checksumSHA1"
:
"
2E36lBoyaVky2EJP1E5ub6Rg+uI
="
,
"checksumSHA1"
:
"
GkeSZfXVbtAkBZOrswot19GJZqQ
="
,
"path"
:
"gitlab.com/gitlab-org/gitaly-proto/go/helper"
,
"revision"
:
"
52f77b23166e640a932e50223472d761404afb42
"
,
"revisionTime"
:
"2017-0
3-29T16:52:58
Z"
,
"version"
:
"v0.5.
0
"
,
"versionExact"
:
"v0.5.
0
"
"revision"
:
"
fcdb86aa58b7d3a729b4bb17fef12bf0a3fba131
"
,
"revisionTime"
:
"2017-0
4-25T15:29:29
Z"
,
"version"
:
"v0.5.
1
"
,
"versionExact"
:
"v0.5.
1
"
},
{
"checksumSHA1"
:
"9jjO5GjLa0XF/nfWihF02RoH4qc="
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment