Revert "add catFileIndex"
This interface is not a good idea, because a running git cat-file --batch does not notice when existing files in the index are changed.
This commit is contained in:
parent
0b63ee6cd5
commit
ca45cea113
2 changed files with 0 additions and 11 deletions
|
@ -7,7 +7,6 @@
|
|||
|
||||
module Annex.CatFile (
|
||||
catFile,
|
||||
catFileIndex,
|
||||
catObject,
|
||||
catObjectDetails,
|
||||
catFileHandle
|
||||
|
@ -26,11 +25,6 @@ catFile branch file = do
|
|||
h <- catFileHandle
|
||||
liftIO $ Git.CatFile.catFile h branch file
|
||||
|
||||
catFileIndex :: FilePath -> Annex L.ByteString
|
||||
catFileIndex file = do
|
||||
h <- catFileHandle
|
||||
liftIO $ Git.CatFile.catFileIndex h file
|
||||
|
||||
catObject :: Git.Ref -> Annex L.ByteString
|
||||
catObject ref = do
|
||||
h <- catFileHandle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue