Versions in this module Expand all Collapse all v0 v0.8.0 Nov 4, 2024 v0.7.0 Jul 22, 2024 v0.6.1 May 24, 2024 v0.6.0 Apr 11, 2024 v0.5.0 Jan 18, 2024 Changes in this version type File + TarHeaderOffset func() compression.Offset + TarHeaderSize func() compression.Offset + TarName func() string v0.4.1 Dec 18, 2023 v0.4.0 Aug 28, 2023 v0.3.0 Jun 7, 2023 Changes in this version type Reader + func NewReader(db *bolt.DB, sr *io.SectionReader, toc ztoc.TOC, opts ...Option) (Reader, error) + func NewTempDbStore(sr *io.SectionReader, toc ztoc.TOC, opts ...Option) (Reader, error) v0.2.0 May 15, 2023 v0.1.0 Mar 6, 2023 Changes in this version + func TestReader(t *testing.T, factory ReaderFactory) + type Attr struct + DevMajor int + DevMinor int + GID int + LinkName string + ModTime time.Time + Mode os.FileMode + NumLink int + Size int64 + UID int + Xattrs map[string][]byte + type File interface + GetUncompressedFileSize func() compression.Offset + GetUncompressedOffset func() compression.Offset + type MeasureLatencyHook func(time.Time) + type Option func(o *Options) error + func WithTelemetry(telemetry *Telemetry) Option + type Options struct + Telemetry *Telemetry + type Reader interface + Clone func(sr *io.SectionReader) (Reader, error) + Close func() error + ForeachChild func(id uint32, f func(name string, id uint32, mode os.FileMode) bool) error + GetAttr func(id uint32) (attr Attr, err error) + GetChild func(pid uint32, base string) (id uint32, attr Attr, err error) + OpenFile func(id uint32) (File, error) + RootID func() uint32 + type ReaderFactory func(sr *io.SectionReader, ztoc *ztoc.Ztoc, opts ...Option) (r TestableReader, err error) + type Store func(sr *io.SectionReader, ztoc *ztoc.Ztoc, opts ...Option) (Reader, error) + type Telemetry struct + InitMetadataStoreLatency MeasureLatencyHook + type TestableReader interface + NumOfNodes func() (i int, _ error)