mirror of
https://github.com/go-gitea/git.git
synced 2026-07-19 14:33:37 -04:00
[PR #47] [CLOSED] Optimization for blob.Data method #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-gitea/git/pull/47
Author: @lunny
Created: 4/19/2017
Status: ❌ Closed
Base:
master← Head:lunny/optimization_blob_data📝 Commits (1)
cd3337eoptimization for blob.Data method📊 Changes
1 file changed (+20 additions, -7 deletions)
View changed files
📝
blob.go(+20 -7)📄 Description
Old Data method will read all blob to the memory and then wrap it as a
io.Reader, this is unnecessary.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.