Skip to content

Add Pathlib support in FileSet and FileInfo #379

@gerritholl

Description

@gerritholl

It would be nice if Pathlib.Path was fully supported in FileSet and FileInfo. I haven't tested how (in)complete it currently works to add Path instances rather than strings representings paths, but at least no Pathlib is used at all in test_fileset.py, and although creating a FileInfo instances where path is a pathlib.Path instance, it currently (and with #378) compares unequal to another FileInfo instance where a string represents the same path, which I don't think is desirable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API changesAffect user’s comprehensiondiscussionConversation about feature ideasfeatureBrand new functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions