mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 01:48:31 +00:00 
			
		
		
		
	rename fields
This commit is contained in:
		| @@ -18,7 +18,7 @@ type Blob struct { | ||||
| } | ||||
|  | ||||
| func (b *Blob) Data() (io.Reader, error) { | ||||
| 	stdout, stderr, err := com.ExecCmdDirBytes(b.repo.Path, "git", "show", b.Id.String()) | ||||
| 	stdout, stderr, err := com.ExecCmdDirBytes(b.repo.Path, "git", "show", b.ID.String()) | ||||
| 	if err != nil { | ||||
| 		return nil, errors.New(string(stderr)) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user