Adds a MimeType helper with some functions to determine a mime type from a provided filename or extension.
Returned mime types also bear variables that determine if they are text or binary, and if they are compressible.
The PR also indicates a few TODO areas where we need to handle errors for users.
Adds a MimeType helper with some functions to determine a mime type from a provided filename or extension.
Returned mime types also bear variables that determine if they are text or binary, and if they are compressible.
The PR also indicates a few TODO areas where we need to handle errors for users.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds a MimeType helper with some functions to determine a mime type from a provided filename or extension.
Returned mime types also bear variables that determine if they are text or binary, and if they are compressible.
The PR also indicates a few TODO areas where we need to handle errors for users.
LGTM