rfctr(file): refactor detect_filetype() #3429
scanny
force pushed
from
a8af5f57
to
a224be04
2 years ago
scanny
force pushed
from
a224be04
to
efce024a
2 years ago
scanny
commented
on 2024-07-22
scanny
commented
on 2024-07-22
scanny
force pushed
from
efce024a
to
fbcd99a4
2 years ago
scanny
force pushed
from
fbcd99a4
to
b5e19a16
2 years ago
scanny
force pushed
from
b5e19a16
to
6c5c0c52
2 years ago
scanny
force pushed
from
6c5c0c52
to
968bda48
2 years ago
scanny
commented
on 2024-07-23
scanny
commented
on 2024-07-23
rfctr(file): modernize a few type annotations
d8acc8bf
rfctr(file): FileType.from_mime_type() accepts None
0e6676e7
rfctr(file): relocate FileType.__lt__() test
af25a3d0
rfctr(file): add _FileTypeDetectionContext
89b10e6e
rfctr(file): install _FileTypeDetectionContext
871e804c
rfctr(file): remove tests for obsolete behaviors
540f70ae
rfctr(file): bulk-move detect_filetype() body
5c814ea7
rfctr(file): improve expression in ._file_type
98a4d80a
rfctr(file): extract ._file_type_from_content_type()
d3d72c41
rfctr(file): add _TextFileDifferentiator
3bd9492e
rfctr(file): install _TextFileDifferentiator
673fa51d
rfctr(file): extract ._file_type_from_file_extension()
37c1ed8c
rfctr(file): extract ._file_type_from_guessed_mime_type()
6a2991b5
rfctr(file): subsume _is_code_mime_type()
ac5e5840
rfctr(file): extract _ZipFileDifferentiator
59ccceb8
rfctr(file): add strategy #1 tests
fc161d39
rfctr(file): consolidate strategy #2 tests
ced6251e
rfctr(file): add strategy #3 tests
609755c1
rfctr(file): replace libmagic-not-available tests
43ae80e3
rfctr(file): consolidate XML/HTML differentiation tests
e87e7440
rfctr(file): consolidate Zip-differentiation tests
3330ac1f
rfctr(file): consolidate source-code -> TXT tests
b3f126f0
rfctr(file): final scrub bits & bobs on tests
e1688786
rfctr(file): refine detect_filetype() interface
0aadc268
fix: fixes to CI test-failures
42985881
scanny
force pushed
from
968bda48
to
42985881
2 years ago
scanny
enabled auto-merge 2 years ago
scanny
merged
3fe5c094
into main 2 years ago
scanny
deleted the scanny/rfctr-detect-filetype branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub