We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When calling .info() on the Local or RAM provider, you are returned a 'type' which indicates if the path is a file or a directory.
var info = disk.info( "some_file.txt" ); expect( info.type ).toBe( "file" );
On the S3 provider though this fails because it is instead returning the Content-Type of the file, which in this case would be 'text/plain'.
Calling .info() should return consistent values for all providers.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When calling .info() on the Local or RAM provider, you are returned a 'type' which indicates if the path is a file or a directory.
On the S3 provider though this fails because it is instead returning the Content-Type of the file, which in this case would be 'text/plain'.
Calling .info() should return consistent values for all providers.
The text was updated successfully, but these errors were encountered: