wxiaoguang  
		
	
	236c645bf1 
	
	
	Refactor "Content" for file uploading ( #25851 )  
		
			... 
			Before: the concept "Content string" is used everywhere. It has some
problems:
1. Sometimes it means "base64 encoded content", sometimes it means "raw
binary content"
2. It doesn't work with large files, eg: uploading a 1G LFS file would
make Gitea process OOM
This PR does the refactoring: use "ContentReader" / "ContentBase64"
instead of "Content"
This PR is not breaking because the key in API JSON is still "content":
`` ContentBase64 string `json:"content"` `` 
		
	 
 
		2023-07-18 18:14:47 +00:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2023-04-04 21:35:31 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-02-16 10:32:01 -06:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-01-31 09:45:19 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-05-24 22:06:27 -04:00 
		 
	
		
			
			
			
			
			
			2022-12-09 14:35:56 +08:00 
		 
	
		
			
			
			
			
			
			2023-05-23 18:10:23 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-07-04 18:36:08 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-30 19:22:51 +08:00 
		 
	
		
			
			
			
			
			
			2023-04-27 11:51:20 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-04-17 11:35:57 -04:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-05-25 15:17:19 +02:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-01-16 16:00:22 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-07-18 18:14:47 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-07-04 18:36:08 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-06-29 23:22:55 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-05-11 08:25:46 +00:00 
		 
	
		
			
			
			
			
			
			2023-02-20 15:28:44 -06:00 
		 
	
		
			
			
			
			
			
			2023-03-14 03:54:40 -04:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-06-29 23:22:55 +00:00 
		 
	
		
			
			
			
			
			
			2023-02-09 06:40:34 +00:00