23 Commits

Author SHA1 Message Date
Leeingnyo
17a9c8ecd3 pass lint 2022-06-18 18:51:33 +09:00
Leeingnyo
bbc0c2cbb7 Fix Dir.contents_signature to detect valid image files added 2022-06-18 17:43:57 +09:00
Leeingnyo
9ce8e918f0 Replace to is_valid? 2022-06-04 00:26:46 +09:00
Alex Ling
e6dbeb623b Use is_valid? 2022-05-22 05:12:43 +00:00
Alex Ling
872e6dc6d6 Better method naming in DirEntry 2022-05-22 04:20:14 +00:00
Leeingnyo
1f5aed64f7 Rename Entries to ArchiveEntry and DirEntry 2022-05-20 09:51:56 +09:00
Leeingnyo
3da5d9ba4e Fix contents_signature 2022-05-15 17:36:57 +09:00
Leeingnyo
55ccd928a2 Implement DirectoryEntry 2022-05-15 16:12:31 +09:00
Leeingnyo
b56e16e1e1 Remove counter, yield everytime 2021-09-18 10:59:43 +09:00
Leeingnyo
9769e760a0 Pass a counter to recursive calls, Ignore negative threshold 2021-09-16 07:49:12 +09:00
Leeingnyo
70ab198a33 Add config 'forcely_yield_count'
the default value 1000 would make a fiber yield on each 4ms on SSD

Apply yield counter in Dir.contents_signauture
Use contents_signature cache in Title.new
2021-09-16 00:16:26 +09:00
Leeingnyo
670cf54957 Apply yield forcely 2021-09-14 22:51:37 +09:00
Leeingnyo
523195d649 Define ExamineContext, apply it when scanning 2021-09-14 22:37:30 +09:00
Leeingnyo
be47f309b0 Use cache when calculating contents_signature 2021-09-14 18:11:08 +09:00
Leeingnyo
7734dae138 Remove unnecessary sort 2021-09-12 14:36:17 +09:00
Leeingnyo
9309f51df6 Memoization on dir contents_signature 2021-09-12 02:19:49 +09:00
Leeingnyo
4e8b561f70 Apply contents signature of directories 2021-09-12 02:19:49 +09:00
Alex Ling
07965b98b7 Force File::Info#inode to return UInt64 2021-01-27 03:42:51 +00:00
Alex Ling
5779d225f6 Merge branch 'dev' of https://github.com/hkalexling/Mango into dev 2021-01-27 03:23:08 +00:00
Alex Ling
bf18a14016 Use inode number 2021-01-27 03:19:58 +00:00
Alex Ling
def64d9f98 Rename interesting files to supported files 2021-01-26 10:55:50 +00:00
Leeingnyo
2b0cf41336 add and apply util method is_interesting_file 2021-01-26 04:17:32 +09:00
Alex Ling
667d390be4 Signature matching 2021-01-19 08:43:45 +00:00