[PR #47] [CLOSED] Optimization for blob.Data method #57

Closed
opened 2026-02-16 10:23:58 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/git/pull/47
Author: @lunny
Created: 4/19/2017
Status: Closed

Base: masterHead: lunny/optimization_blob_data


📝 Commits (1)

  • cd3337e optimization 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.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/git/pull/47 **Author:** [@lunny](https://github.com/lunny) **Created:** 4/19/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `lunny/optimization_blob_data` --- ### 📝 Commits (1) - [`cd3337e`](https://github.com/go-gitea/git/commit/cd3337ee847f9a6b6e36b4eb1618054dfe7abaf9) optimization for blob.Data method ### 📊 Changes **1 file changed** (+20 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `blob.go` (+20 -7) </details> ### 📄 Description Old Data method will read all blob to the memory and then wrap it as a `io.Reader`, this is unnecessary. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:23:58 -05:00
yindo closed this issue 2026-02-16 10:23:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-gitea/git#57