dignifiedquire / dignifiedquire/async-tar

shared 'Header' behaviour

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
83
Forks
70
PR merge metrics
No merged PRs in 30d

Description

looking at the code, there's a lot of shared behaviour between the `UstarHeader` and `GnuHeader` types. There's also quite a lot of casting between the tops (which i guess is fine, since they're just representations of a vector of bytes anyway).

I wonder if the shared behaviour between these objects might be better represented as an `Enum` or as a trait, rather than being duplicated. Do you have any thoughts on that?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.