add hashPointerFile'
This commit is contained in:
parent
04d4830ac3
commit
4712882776
1 changed files with 3 additions and 0 deletions
|
@ -123,6 +123,9 @@ hashPointerFile :: Key -> Annex Sha
|
|||
hashPointerFile key = inRepo $ Git.HashObject.hashObject BlobObject $
|
||||
formatPointer key
|
||||
|
||||
hashPointerFile' :: Git.HashObject.HashObjectHandle -> Key -> Annex Sha
|
||||
hashPointerFile' h = liftIO . Git.HashObject.hashBlob h . formatPointer
|
||||
|
||||
{- Stages a pointer file, using a Sha of its content -}
|
||||
stagePointerFile :: FilePath -> Sha -> Annex ()
|
||||
stagePointerFile file sha =
|
||||
|
|
Loading…
Reference in a new issue