Skip to content
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

Configuration of directories and filetype inclusion/exclusion to be analysed #2

Open
adulau opened this issue Oct 5, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@adulau
Copy link
Member

adulau commented Oct 5, 2021

Configuration of directories and filetype inclusion/exclusion to be analysed. Idea from @Wachizungu.

@adulau adulau added the enhancement New feature or request label Oct 5, 2021
@adulau
Copy link
Member Author

adulau commented Oct 17, 2021

For file type, we need two strategies:

  • Extension based
  • mime/type based

@sthagen
Copy link

sthagen commented Oct 17, 2021

Would the mime/type based perspective just be an indirection of some extension to mime/type mapper or is data inspection a la unix file command planned?

In case it is the latter, I imagine taming that dragon may be hard esp. in a platform agnostic way.

I more often than not find myself writing my own system call and parsing interface to a native file program execution as my experience with the wrapping python libraries were not too encouraging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants