Show More
@@ -215,10 +215,10 b' def _hybridencode(path, dotencode):' | |||
|
215 | 215 | The string 'data/' at the beginning is replaced with 'dh/', if the hashed |
|
216 | 216 | encoding was used. |
|
217 | 217 | ''' |
|
218 |
|
|
|
218 | path = encodedir(path) | |
|
219 | ef = _encodefname(path).split('/') | |
|
219 | 220 | res = '/'.join(_auxencode(ef, dotencode)) |
|
220 | 221 | if len(res) > _maxstorepathlen: |
|
221 | path = encodedir(path) | |
|
222 | 222 | digest = _sha(path).hexdigest() |
|
223 | 223 | le = lowerencode(path).split('/')[1:] |
|
224 | 224 | parts = _auxencode(le, dotencode) |
General Comments 0
You need to be logged in to leave comments.
Login now