update code.gitea.io/git (#450)
This commit is contained in:
parent
0c5c34d7dd
commit
47a7529d96
36 changed files with 509 additions and 480 deletions
1
vendor/code.gitea.io/git/blob.go
generated
vendored
1
vendor/code.gitea.io/git/blob.go
generated
vendored
|
@ -25,6 +25,7 @@ func (b *Blob) Data() (io.Reader, error) {
|
|||
return bytes.NewBuffer(stdout), nil
|
||||
}
|
||||
|
||||
// DataPipeline gets content of blob and write the result or error to stdout or stderr
|
||||
func (b *Blob) DataPipeline(stdout, stderr io.Writer) error {
|
||||
return NewCommand("show", b.ID.String()).RunInDirPipeline(b.repo.Path, stdout, stderr)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue