saurvs/nfd-rs

Change OkayMultiple into a tuple?

virtualritz opened this issue · 0 comments

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>?