(b []byte, length int64)
| 115 | } |
| 116 | |
| 117 | func GetUnzipFileNum(b []byte, length int64) (int, error) { |
| 118 | zr, err := zip.NewReader(bytes.NewReader(b), length) |
| 119 | if err != nil { |
| 120 | return 0, err |
| 121 | } |
| 122 | return len(zr.File), nil |
| 123 | } |
nothing calls this directly
no outgoing calls
no test coverage detected