Commit graph

2 commits

Author SHA1 Message Date
Laurence Withers
4ed5335a07 packed: add ability to load from memory, add MapAndLoad
The ability to load a packfile from memory means that it becomes easy to
use the "embed" package to embed a small packfile.

The refactor to allow loading from memory also makes it easy to add a
MapAndLoad implementation, which means the file only needs to be opened
/ mmap()ed once.
2026-08-28 09:53:42 +01:00
Laurence Withers
fdd1990e89 Reorganise ready to split into modules 2019-04-12 09:07:17 +01:00
Renamed from internal/packed/load.go (Browse further)