mirror of https://github.com/voidlizard/hbs2
wip27
This commit is contained in:
parent
1f1c9be9df
commit
77fb8f419d
|
@ -1213,6 +1213,10 @@ theDict = do
|
||||||
let (prefix,name) = L.splitAt 2 gitHash
|
let (prefix,name) = L.splitAt 2 gitHash
|
||||||
let path = joinPath [d, "objects", prefix, name]
|
let path = joinPath [d, "objects", prefix, name]
|
||||||
|
|
||||||
|
here <- doesPathExist path
|
||||||
|
|
||||||
|
unless here do
|
||||||
|
|
||||||
touch path
|
touch path
|
||||||
|
|
||||||
liftIO $ print $ pretty t <+> pretty s <+> pretty h <+> pretty path
|
liftIO $ print $ pretty t <+> pretty s <+> pretty h <+> pretty path
|
||||||
|
|
Loading…
Reference in New Issue