Handbook
Glossary
parse-packed-object ( sha1 offset -- obj )
Vocabulary
git
Inputs
sha1
an
object
offset
an
object
Outputs
obj
an
object
Definition
USING:
io
io.encodings.binary
io.files
io.streams.peek
kernel
namespaces
;
IN:
git
:
parse-packed-object
( sha1 offset -- obj )
[
make-pack-path
binary
]
dip
[
[
input-stream
[
<peek-stream>
]
change
]
]
dip
[
seek-absolute
seek-input
read-packed
]
curry
compose
with-file-reader
;