Skip to content

feat: add support for iteration on rar archive#55

Open
MunifTanjim wants to merge 3 commits into
nwaples:mainfrom
MunifTanjim:feat-iter
Open

feat: add support for iteration on rar archive#55
MunifTanjim wants to merge 3 commits into
nwaples:mainfrom
MunifTanjim:feat-iter

Conversation

@MunifTanjim
Copy link
Copy Markdown

@MunifTanjim MunifTanjim commented Jan 2, 2026

iter, err := rardecode.OpenIter(firstVolumeFilename, rardecode.FileSystem(fs), rardecode.IterHeadersOnly)
if err != nil {
	panic(err)
}
defer iter.Close()

for iter.Next() {
	header := iter.Header()
	println(header.Name)
}
if err := iter.Err(); err != nil {
	panic(err)
}

@MunifTanjim MunifTanjim force-pushed the feat-iter branch 2 times, most recently from c53f425 to 6cb51fd Compare January 5, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant