Skip to content

Properties on the contenttype should be also available as functions #38

Open

Description

@TG1999

https://github.com/nexB/typecode/blob/main/src/typecode/contenttype.py#L732 for example this can be provided as a bare function which can take file as an input directly

Activity

  1. stefan6419846 commented on Jan 14, 2026

    @stefan6419846

    Would this really have any benefits over the current approach? Just creating an instance of the class with the corresponding file shouldn't be too much overhead IMHO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions