Skip to content

shared 'Header' behaviour #14

Open
@danieleades

Description

@danieleades

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions