This commit is contained in:
Joey Hess 2016-09-29 11:33:42 -04:00
parent 3416cd8148
commit 35446d3c3a
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
2 changed files with 10 additions and 1 deletions

View file

@ -14,6 +14,7 @@ module Annex.DirHashes (
dirHashes,
hashDirMixed,
hashDirLower,
display_32bits_as_dir
) where
import Data.Bits
@ -74,7 +75,7 @@ hashDirLower n k = hashDirs n 3 $ take 6 $ md5s $ md5FilePath $ key2file $ nonCh
-}
display_32bits_as_dir :: Word32 -> String
display_32bits_as_dir w = trim $ swap_pairs cs
where
where
-- Need 32 characters to use. To avoid inaverdently making
-- a real word, use letters that appear less frequently.
chars = ['0'..'9'] ++ "zqjxkmvwgpfZQJXKMVWGPF"

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2016-09-29T15:33:00Z"
content="""
Had another report of this, and there NFS seemed to be involved in the
circumstances of the crash.
"""]]