aboutsummaryrefslogtreecommitdiff
path: root/objectstore
Commit message (Collapse)AuthorAgeFilesLines
* *: objectstore -> object/storeGravatar Runxi Yu2026-03-2582-4193/+0
|
* *: Resort import orderGravatar Runxi Yu2026-03-2511-11/+11
|
* *: objectid -> object/idGravatar Runxi Yu2026-03-2542-42/+42
|
* *: objecttype, objectheader -> object/type, object/headerGravatar Runxi Yu2026-03-2535-44/+44
|
* objectstore/packed: Document refresh semantics v0.1.90Gravatar Runxi Yu2026-03-223-1/+9
|
* *: Fixup ownership of compositional backends v0.1.88Gravatar Runxi Yu2026-03-2211-80/+24
|
* objectstore/loose, receivepack/service, repository: Lint whitespaceGravatar Runxi Yu2026-03-222-0/+2
|
* objectstore/*, repository, receivepack/service: don't take ownership of rootGravatar Runxi Yu2026-03-223-15/+7
|
* objectstore{,/packed}: Document lifetime and integrity behaviorGravatar Runxi Yu2026-03-227-16/+33
|
* objectstore{,/loose}: Document contracts more clearlyGravatar Runxi Yu2026-03-229-33/+130
|
* objectstore: Clarify docsGravatar Runxi Yu2026-03-131-2/+13
|
* Revert "object/header: Rename from objectheader"Gravatar Runxi Yu2026-03-1010-26/+26
| | | | This reverts commit 85f1212724e037e6934203f04a3f6231ac609503.
* object/header: Rename from objectheaderGravatar Runxi Yu2026-03-1010-26/+26
|
* *: format/pack -> packfile; format/delta -> delta; delete formatGravatar Runxi Yu2026-03-1010-10/+10
|
* *: Fix lints v0.1.82Gravatar Runxi Yu2026-03-081-1/+1
|
* *: Fix lintsGravatar Runxi Yu2026-03-081-0/+1
|
* objectstore: Refresh v0.1.80Gravatar Runxi Yu2026-03-0815-109/+305
| | | | | | * Add manual Refresh for various objectstore's * RefreshPolicy option * Refreshable MRU and atomic snapshotting
* Urgh I made some wrong amends and I'm too tired to separate the commits out ↵Gravatar Runxi Yu2026-03-0715-47/+196
| | | | | | | | | | | | | this time ancestor: Split out of reachability mergebase: Add merge base routines internal/commitquery: Add commit query context engine thingy internal/peel: Shared tag peeling errors: Shared object query errors internal/testgit: Add rooted repo helpers; remove raw path access objectstore/memory: Add in-memory object store objectid: Add Compare helper
* *: Lint v0.1.68Gravatar Runxi Yu2026-03-061-0/+2
|
* objectstore: Add notes on a Cursor v0.1.63Gravatar Runxi Yu2026-03-061-0/+6
|
* objectstore/packed: Split filesGravatar Runxi Yu2026-03-0623-369/+416
|
* *: Fix lintsGravatar Runxi Yu2026-03-051-1/+1
|
* internal/compress: Import flate and such from klauspost/compressGravatar Runxi Yu2026-03-055-5/+5
|
* objectstore/chain: Add an actual chain object store v0.1.45Gravatar Runxi Yu2026-03-047-0/+214
|
* *: Fix lints v0.1.43Gravatar Runxi Yu2026-03-041-0/+1
|
* objectstore/packed: Make more tests iterate algorithmsGravatar Runxi Yu2026-03-041-10/+12
|
* objectstore/packed: SplitGravatar Runxi Yu2026-03-044-157/+164
|
* objectstore/loose: SplitGravatar Runxi Yu2026-03-044-183/+204
|
* objectstore/mix: SeparateGravatar Runxi Yu2026-03-048-257/+305
|
* objectstore/mix: Rename from objectstore/chainGravatar Runxi Yu2026-03-041-52/+52
|
* objectstore/packed: SplitGravatar Runxi Yu2026-03-043-142/+151
|
* *: LintGravatar Runxi Yu2026-03-0431-62/+490
|
* objectstore/packed: Check pack/idx checksums here.Gravatar Runxi Yu2026-03-032-2/+31
| | | | | | | | | | | | | | | | | | | | | | 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.
* *: Fix the broken comments for overescaping that python scriptGravatar Runxi Yu2026-02-222-3/+3
|
* internal/lru: Rename from internal/cache/lruGravatar Runxi Yu2026-02-221-1/+1
|
* objectstore/chain: Fix lints v0.1.32Gravatar Runxi Yu2026-02-221-59/+59
|
* objectstore/chain: MRU especially to reduce loose object syscall cost v0.1.31Gravatar Runxi Yu2026-02-221-39/+122
|
* format/delta/apply, etc.: ReadHeaderSizes should use ByteReaderGravatar Runxi Yu2026-02-221-1/+3
|
* objectstore/packed: Pre-allocate instead of ReadAllGravatar Runxi Yu2026-02-221-10/+17
|
* objectstore/*, repository: Add ReadSize v0.1.28Gravatar Runxi Yu2026-02-215-0/+88
| | | | | For cases where knowing the type is unnecessary and incurs extra overhead.
* objectstore/packed: Don't use full delta reconstruction just to read headersGravatar Runxi Yu2026-02-215-24/+84
|
* objectstore/packed: Improve delta base cachingGravatar Runxi Yu2026-02-214-80/+108
|
* objectstore/packed: Best-effort touchCandidateGravatar Runxi Yu2026-02-211-1/+4
|
* objectstore/packed: Optimize pack candidate lookup and lockingGravatar Runxi Yu2026-02-213-40/+116
|
* objectstore/packed: Separate idx candidate lookup vs actually opening itGravatar Runxi Yu2026-02-212-110/+116
|
* objectstore/packed: Lazily parse idx metadataGravatar Runxi Yu2026-02-212-69/+144
|
* objectstore/packed: Verify that the index matches the packGravatar Runxi Yu2026-02-211-0/+33
|
* objectstore/packed: Use constants/functions from format/packGravatar Runxi Yu2026-02-215-85/+23
|
* format/delta/apply: Move core delta apply algorithm hereGravatar Runxi Yu2026-02-212-169/+4
|
* objectstore/{packed,loose}: Use internal zlib v0.1.26Gravatar Runxi Yu2026-02-215-5/+6
|