mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 11:07:18 -04:00 
			
		
		
		
	Use Go1.11 module (#5743)
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
This commit is contained in:
		
							
								
								
									
										25
									
								
								vendor/github.com/Unknwon/cae/.gitignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								vendor/github.com/Unknwon/cae/.gitignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| # Compiled Object files, Static and Dynamic libs (Shared Objects) | ||||
| *.o | ||||
| *.a | ||||
| *.so | ||||
|  | ||||
| # Folders | ||||
| _obj | ||||
| _test | ||||
| .idea | ||||
|  | ||||
| # Architecture specific extensions/prefixes | ||||
| *.[568vq] | ||||
| [568vq].out | ||||
|  | ||||
| *.cgo1.go | ||||
| *.cgo2.c | ||||
| _cgo_defun.c | ||||
| _cgo_gotypes.go | ||||
| _cgo_export.* | ||||
|  | ||||
| _testmain.go | ||||
|  | ||||
| cae.iml | ||||
| *.exe | ||||
| .DS_Store | ||||
							
								
								
									
										37
									
								
								vendor/github.com/Unknwon/cae/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								vendor/github.com/Unknwon/cae/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | ||||
| Compression and Archive Extensions | ||||
| ================================== | ||||
|  | ||||
| [](http://gowalker.org/github.com/Unknwon/cae) | ||||
|  | ||||
| [中文文档](README_ZH.md) | ||||
|  | ||||
| Package cae implements PHP-like Compression and Archive Extensions. | ||||
|  | ||||
| But this package has some modifications depends on Go-style. | ||||
|  | ||||
| Reference: [PHP:Compression and Archive Extensions](http://www.php.net/manual/en/refs.compression.php). | ||||
|  | ||||
| Code Convention: based on [Go Code Convention](https://github.com/Unknwon/go-code-convention). | ||||
|  | ||||
| ### Implementations | ||||
|  | ||||
| Package `zip`([Go Walker](http://gowalker.org/github.com/Unknwon/cae/zip)) and `tz`([Go Walker](http://gowalker.org/github.com/Unknwon/cae/tz)) both enable you to transparently read or write ZIP/TAR.GZ compressed archives and the files inside them. | ||||
|  | ||||
| - Features: | ||||
| 	- Add file or directory from everywhere to archive, no one-to-one limitation. | ||||
| 	- Extract part of entries, not all at once.  | ||||
| 	- Stream data directly into `io.Writer` without any file system storage. | ||||
|  | ||||
| ### Test cases and Coverage | ||||
|  | ||||
| All subpackages use [GoConvey](http://goconvey.co/) to write test cases, and coverage is more than 80 percent. | ||||
|  | ||||
| ### Use cases | ||||
|  | ||||
| - [Gogs](https://github.com/gogits/gogs): self hosted Git service in the Go Programming Language. | ||||
| - [GoBlog](https://github.com/fuxiaohei/GoBlog): personal blogging application. | ||||
| - [GoBuild](https://github.com/shxsun/gobuild/): online Go cross-platform compilation and download service. | ||||
|  | ||||
| ## License | ||||
|  | ||||
| This project is under Apache v2 License. See the [LICENSE](LICENSE) file for the full license text. | ||||
							
								
								
									
										29
									
								
								vendor/github.com/Unknwon/cae/README_ZH.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								vendor/github.com/Unknwon/cae/README_ZH.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| 压缩与打包扩展 | ||||
| ============= | ||||
|  | ||||
| [](http://gowalker.org/github.com/Unknwon/cae) | ||||
|  | ||||
| 包 cae 实现了 PHP 风格的压缩与打包扩展。 | ||||
|  | ||||
| 但本包依据 Go 语言的风格进行了一些修改。 | ||||
|  | ||||
| 引用:[PHP:Compression and Archive Extensions](http://www.php.net/manual/en/refs.compression.php) | ||||
|  | ||||
| 编码规范:基于 [Go 编码规范](https://github.com/Unknwon/go-code-convention) | ||||
|  | ||||
| ### 实现 | ||||
|  | ||||
| 包 `zip`([Go Walker](http://gowalker.org/github.com/Unknwon/cae/zip)) 和 `tz`([Go Walker](http://gowalker.org/github.com/Unknwon/cae/tz)) 都允许你轻易的读取或写入 ZIP/TAR.GZ 压缩档案和其内部文件。 | ||||
|  | ||||
| - 特性: | ||||
| 	- 将任意位置的文件或目录加入档案,没有一对一的操作限制。 | ||||
| 	- 只解压部分文件,而非一次性解压全部。  | ||||
| 	- 将数据以流的形式直接写入 `io.Writer` 而不需经过文件系统的存储。 | ||||
|  | ||||
| ### 测试用例与覆盖率 | ||||
|  | ||||
| 所有子包均采用 [GoConvey](http://goconvey.co/) 来书写测试用例,覆盖率均超过 80%。 | ||||
|  | ||||
| ## 授权许可 | ||||
|  | ||||
| 本项目采用 Apache v2 开源授权许可证,完整的授权说明已放置在 [LICENSE](LICENSE) 文件中。 | ||||
							
								
								
									
										1
									
								
								vendor/github.com/Unknwon/cae/tz/testdata/test.lnk
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/Unknwon/cae/tz/testdata/test.lnk
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1 +0,0 @@ | ||||
| test.zip | ||||
							
								
								
									
										1
									
								
								vendor/github.com/Unknwon/cae/tz/testdata/testdir.lnk
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/Unknwon/cae/tz/testdata/testdir.lnk
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1 +0,0 @@ | ||||
| testdir | ||||
							
								
								
									
										1
									
								
								vendor/github.com/Unknwon/cae/zip/testdata/test.lnk
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/Unknwon/cae/zip/testdata/test.lnk
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1 +0,0 @@ | ||||
| test.zip | ||||
							
								
								
									
										1
									
								
								vendor/github.com/Unknwon/cae/zip/testdata/testdir.lnk
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/Unknwon/cae/zip/testdata/testdir.lnk
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1 +0,0 @@ | ||||
| testdir | ||||
		Reference in New Issue
	
	Block a user