Skip to content

Change OkayMultiple into a tuple? #24

@virtualritz

Description

@virtualritz

I may be missing something but I am not aware of any OS where the file chooser lets you pick multiple files in different folders.

Assuming this is the case, the path of all files returned by OkayMultiple will always be the same for all elements of the Vec.

Would it then not make sense to change the return value to a tuple (String, Vec<String>) that returns the path in the first string and just the file names or folders, omitting the path, in the Vec<String>?

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