archive_helper

package
v0.55.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsWantedArchiveExtName

func IsWantedArchiveExtName(fileName string) bool

func UnArchiveFile

func UnArchiveFile(fileFullPath, desRootPath string) error

UnArchiveFile 7z 以外的都能搞定中文编码的问题,但是 7z 有梗,需要单独的库去解析,且编码是解决不了的,以后他们搞定了再测试 所以效果就是,7z 外的压缩包文件解压ok,字幕可以正常从名称解析出是简体还是繁体,但是7z就没办法了,一定乱码

func UnArchiveFileEx

func UnArchiveFileEx(fileFullPath, desRootPath string) error

UnArchiveFileEx 发现打包的字幕内部还有一层压缩包···所以···

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL