Skip to content

Add PDF support to detectFileType#665

Merged
drewnoakes merged 1 commit intodrewnoakes:mainfrom
max-peroch:add-pdf-support-to-detectFileType
Apr 2, 2024
Merged

Add PDF support to detectFileType#665
drewnoakes merged 1 commit intodrewnoakes:mainfrom
max-peroch:add-pdf-support-to-detectFileType

Conversation

@max-peroch
Copy link
Copy Markdown

@max-peroch max-peroch commented Mar 26, 2024

Fixes #666

Hello, it seems that FileTypeDetector.detectFileType was not able to detect PDF files, was there any reason to that?

This PR adds PDF to the list of files that can be detected.

I hope that's ok! This could be released as a patch version if that works for you.

Thank you,

Copy link
Copy Markdown
Owner

@drewnoakes drewnoakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@drewnoakes drewnoakes merged commit 9f4ad4c into drewnoakes:main Apr 2, 2024
@max-peroch max-peroch deleted the add-pdf-support-to-detectFileType branch April 2, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PDF support for detectFileType

2 participants