 zeripath
		
	
	
		2e85ad665a
		
			
		
	
	
	
	Contents API should return 404 on not exist (#10323)
			zeripath
		
	
	
		2e85ad665a
		
			
		
	
	
	
	Contents API should return 404 on not exist (#10323)
		
			
			* Return 404 on not exist
* swagger update and use git.IsErrNotExist
* Handle delete too
* Handle delete too x2
* Fix pr 10323 (#3)
* fix TESTS
* leafe a note for fututre
* placate golangci-lint
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update integrations/api_repo_file_delete_test.go
Co-Authored-By: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
		
	
 
		2020-04-15 02:18:51 -03:00
	 
	
	
		 ..
	
	
	
		
			
			
			
			
			
			2019-12-20 19:07:12 +02:00
		 
	
		
			
			
			
			
			
			2020-03-27 00:26:34 +02:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-04-07 22:54:46 -04:00
		 
	
		
			
			
			
			
			
			2020-04-15 02:18:51 -03:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2019-12-20 19:07:12 +02:00
		 
	
		
			
			
			
			
			
			2019-12-20 19:07:12 +02:00
		 
	
		
			
			
			
			
			
			2018-04-29 14:21:33 +08:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-04-01 01:14:46 -03:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-03-08 14:46:24 -03:00
		 
	
		
			
			
			
			
			
			2020-02-26 03:32:22 -03:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-04-01 01:14:46 -03:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-04-01 01:14:46 -03:00
		 
	
		
			
			
			
			
			
			2018-04-29 14:21:33 +08:00
		 
	
		
			
			
			
			
			
			2020-02-23 13:52:05 -06:00
		 
	
		
			
			
			
			
			
			2020-01-29 08:36:32 +02:00
		 
	
		
			
			
			
			
			
			2020-01-29 13:55:23 +08:00
		 
	
		
			
			
			
			
			
			2020-03-28 01:13:18 -03:00
		 
	
		
			
			
			
			
			
			2019-12-20 19:07:12 +02:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2019-05-30 11:09:05 -04:00
		 
	
		
			
			
			
			
			
			2020-03-26 19:14:51 +00:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-02-25 14:07:07 -05:00
		 
	
		
			
			
			
			
			
			2020-01-24 14:00:29 -05:00
		 
	
		
			
			
			
			
			
			2020-01-31 15:49:04 +00:00
		 
	
		
			
			
			
			
			
			2019-12-20 19:07:12 +02:00