Bogdanp / Bogdanp/racket-net-mime-type
Support for files without extensions
Open
- Dominant language
- Racket
- Stars
- 5
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hello there,
I was wondering if its possible
```
> (path-mime-type "/etc/hosts")
#f
> (system "file -b --mime-type /etc/hosts")
text/plain
#t
```
using system is probably bad idea cuz performance and stuff but as a backup when the regex matching of extension didn't worked out
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.