mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	[Vendor] update macaron related (#13409)
* Vendor: update gitea.com/macaron/session to a177a270 * make vendor * Vendor: update gitea.com/macaron/macaron to 0db5d458 * make vendor * Vendor: update gitea.com/macaron/cache to 905232fb * make vendor * Vendor: update gitea.com/macaron/i18n to 4ca3dd0c * make vendor * Vendor: update gitea.com/macaron/gzip to efa5e847 * make vendor * Vendor: update gitea.com/macaron/captcha to e8597820 * make vendor
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/github.com/klauspost/compress/zstd/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/klauspost/compress/zstd/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -251,14 +251,14 @@ For streaming use a simple setup could look like this: | ||||
| import "github.com/klauspost/compress/zstd" | ||||
|  | ||||
| func Decompress(in io.Reader, out io.Writer) error { | ||||
|     d, err := zstd.NewReader(input) | ||||
|     d, err := zstd.NewReader(in) | ||||
|     if err != nil { | ||||
|         return err | ||||
|     } | ||||
|     defer d.Close() | ||||
|      | ||||
|     // Copy content... | ||||
|     _, err := io.Copy(out, d) | ||||
|     _, err = io.Copy(out, d) | ||||
|     return err | ||||
| } | ||||
| ``` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user