-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would it be a good idea to return a reference to the file instead of the file path? #64
Comments
@quantuminformation - thanks! Do you mean return the filename instead of a fully qualified path? Or return a file object? |
The file object. My use case is microsoft/TypeScript#16577 (comment) where I had to read the file separately. |
Interesting idea but for the time being I'll keep it simple and return the path as a string. That way, the user can either process an array of string (paths) or map over the results to convert to the appropriate type. |
Due to be released in v1.17.0 |
gg |
@quantuminformation - support added for including file stats in v1.17.0 |
Love this lib btw!
The text was updated successfully, but these errors were encountered: