We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the code as follow to get file information such as file mod tiinme in .rar:
f, err := os.Open(realpath) if err != nil { return nil, err } rar := archiver.Rar{} handleFun := func(ctx context.Context, f archiver.File) error { fmt.Println(f.ModTime()) } err = rar.Extract(context.Background(), f, nil, handleFun)
the file time is null. However,the file such as zip,tar get right mod time.
Someone can tell me why. Thanks.
The text was updated successfully, but these errors were encountered:
Can you provide an archive that exhibits this behavior? I don't have a rar file handy that does this.
Sorry, something went wrong.
There is a test file for rar in test.zip, you can dearchive this and get the rar file. Thanks. test.zip
No branches or pull requests
Use the code as follow to get file information such as file mod tiinme in .rar:
the file time is null. However,the file such as zip,tar get right mod time.
Someone can tell me why. Thanks.
The text was updated successfully, but these errors were encountered: