Show More
@@ -365,3 +365,20 b' print "(just hitting the _maxshortdirsle' | |||||
365 | show('data/12345678/12345678/12345678/12345678/12345678/12345' |
|
365 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |
366 | '678/12345678/123456/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' |
|
366 | '678/12345678/123456/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |
367 | '123456789-123456') |
|
367 | '123456789-123456') | |
|
368 | ||||
|
369 | print "hashed path that drops dir 8 due to dot or space at end is" | |||
|
370 | print "encoded, and thus causing to hit _maxshortdirslen" | |||
|
371 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
372 | '678/12345678/1234./-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
373 | '123456789-123456') | |||
|
374 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
375 | '678/12345678/1234 /-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
376 | '123456789-123456') | |||
|
377 | ||||
|
378 | print "... with dir 8 short enough for encoding" | |||
|
379 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
380 | '678/12345678/12./xx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
381 | '123456789-123456') | |||
|
382 | show('data/12345678/12345678/12345678/12345678/12345678/12345' | |||
|
383 | '678/12345678/12 /xx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' | |||
|
384 | '123456789-123456') |
@@ -359,3 +359,18 b' hashed path with shortest dropped direct' | |||||
359 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/123456/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' |
|
359 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/123456/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |
360 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxx11fa9873cc6c3215eae864528b5530a04efc6cfe' |
|
360 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxx11fa9873cc6c3215eae864528b5530a04efc6cfe' | |
361 |
|
361 | |||
|
362 | hashed path that drops dir 8 due to dot or space at end is | |||
|
363 | encoded, and thus causing to hit _maxshortdirslen | |||
|
364 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/1234./-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
365 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/-xxxxxxxxx-xxx602df9b45bec564e2e1f0645d5140dddcc76ed58' | |||
|
366 | ||||
|
367 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/1234 /-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
368 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/-xxxxxxxxx-xxxd99ff212bc84b4d1f70cd6b0071e3ef69d4e12ce' | |||
|
369 | ||||
|
370 | ... with dir 8 short enough for encoding | |||
|
371 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12./xx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
372 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12~2e/xx-xxxxx7baeb5ed7f14a586ee1cacecdbcbff70032d1b3c' | |||
|
373 | ||||
|
374 | A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12 /xx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456' | |||
|
375 | B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12~20/xx-xxxxxcf79ca9795f77d7f75745da36807e5d772bd5182' | |||
|
376 |
General Comments 0
You need to be logged in to leave comments.
Login now