cache

package
v0.3.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cache provides offset caching utilities.

Deprecated: This package is no longer supported.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

Cache holds already seen offsets.

func NewCache

func NewCache(prevOffsetFile string) *Cache

NewCache returns a new Cache.

func (*Cache) IsAllInCache

func (c *Cache) IsAllInCache(version string, dataMembers []*binary.DataMember) ([]*binary.DataMemberOffset, bool)

IsAllInCache checks whether the passed datamembers exist in the cache for a given version.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL