bdt
bdt copied to clipboard
add: automatically detect filetype without rely on ending
This PR uses the lib file-format to detect the filetype using the magic number. for Plaintext files like json/csv, we fall back to the file ending variant.
This addresses the issue #24