<feed xmlns='http://www.w3.org/2005/Atom'>
<title>~runxiyu/furgit.git/format, branch v0.1.48</title>
<subtitle>Git library in pure Go</subtitle>
<id>https://cgit.space/~runxiyu/furgit.git/atom/format?h=v0.1.48</id>
<link rel='self' href='https://cgit.space/~runxiyu/furgit.git/atom/format?h=v0.1.48'/>
<link rel='alternate' type='text/html' href='https://cgit.space/~runxiyu/furgit.git/'/>
<updated>2026-03-04T06:31:38Z</updated>
<entry>
<title>*: Add package-level docs</title>
<updated>2026-03-04T06:31:38Z</updated>
<author>
<name>Runxi Yu</name>
</author>
<published>2026-03-04T06:31:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~runxiyu/furgit.git/commit/?id=d585f0889eef41f1386abefe3daa2e617a21895e'/>
<id>urn:sha1:d585f0889eef41f1386abefe3daa2e617a21895e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>*: Lint</title>
<updated>2026-03-04T00:59:53Z</updated>
<author>
<name>Runxi Yu</name>
</author>
<published>2026-03-04T00:26:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~runxiyu/furgit.git/commit/?id=ab7501be34032fb9e5c48726a68ae90a917af9eb'/>
<id>urn:sha1:ab7501be34032fb9e5c48726a68ae90a917af9eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>objectstore/packed: Check pack/idx checksums here.</title>
<updated>2026-03-03T10:31:11Z</updated>
<author>
<name>Runxi Yu</name>
</author>
<published>2026-03-03T10:26:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~runxiyu/furgit.git/commit/?id=bd9519b464f919f2ca174a45c3c19c9a8a1fe3d1'/>
<id>urn:sha1:bd9519b464f919f2ca174a45c3c19c9a8a1fe3d1</id>
<content type='text'>
We previously had helpers in format/pack/checksum that checks
.pack/.idx-related checksums with []byte-based APIs. But it only really
makes sense to use those []byte-based APIs on mmap's (otherwise it'd be
horribly inefficient).

Since the packed object-store only needs to check that the .pack and
.idx trailer match, we move the relevant part into objectstore/packed.
The rest are deleted for now; we'll definitely need a streaming version
for the pack verification (when ingesting packfiles from the network)
(though we might just make it a streaming API (writer? reader? not
decided yet) that *produces* a hash, then verify it in the caller; this
way we could reuse the function in the pack-producing routines). The
others might get the []byte-based APIs back, or perhaps they too get
streaming APIs.

Remember that "reading objects from a packed object store",
"creating/writing packfiles", and "ingesting an incoming pack (which
usually involves creating an .idx for it)", are all very different
tasks.
</content>
</entry>
<entry>
<title>format/delta/apply, etc.: ReadHeaderSizes should use ByteReader</title>
<updated>2026-02-22T02:28:29Z</updated>
<author>
<name>Runxi Yu</name>
</author>
<published>2026-02-22T02:28:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~runxiyu/furgit.git/commit/?id=918a17362c8a07221a65d4d60af0667ee7f0dd61'/>
<id>urn:sha1:918a17362c8a07221a65d4d60af0667ee7f0dd61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>format/pack/checksum: Move things about pack trailers here</title>
<updated>2026-02-21T11:23:43Z</updated>
<author>
<name>Runxi Yu</name>
</author>
<published>2026-02-21T11:23:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~runxiyu/furgit.git/commit/?id=6908fe5118f509d5fefbd2dae467096683b41481'/>
<id>urn:sha1:6908fe5118f509d5fefbd2dae467096683b41481</id>
<content type='text'>
</content>
</entry>
<entry>
<title>objectstore/packed: Use constants/functions from format/pack</title>
<updated>2026-02-21T11:18:45Z</updated>
<author>
<name>Runxi Yu</name>
</author>
<published>2026-02-21T11:00:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~runxiyu/furgit.git/commit/?id=d951176970f646b1cc2e586f8b5fda31c93365c5'/>
<id>urn:sha1:d951176970f646b1cc2e586f8b5fda31c93365c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>format/pack: Extract general constants and such from objectstore/packed</title>
<updated>2026-02-21T10:52:58Z</updated>
<author>
<name>Runxi Yu</name>
</author>
<published>2026-02-21T10:52:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~runxiyu/furgit.git/commit/?id=ffd8a66b3a1dcf16c574af736b3582b0611d288e'/>
<id>urn:sha1:ffd8a66b3a1dcf16c574af736b3582b0611d288e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>format/delta/apply: Move core delta apply algorithm here</title>
<updated>2026-02-21T10:44:45Z</updated>
<author>
<name>Runxi Yu</name>
</author>
<published>2026-02-21T10:44:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~runxiyu/furgit.git/commit/?id=42ff39c8d340dabce79c4057a07a3932da295772'/>
<id>urn:sha1:42ff39c8d340dabce79c4057a07a3932da295772</id>
<content type='text'>
</content>
</entry>
</feed>
