cache

package
v0.32.6 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cache provides cache keys

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key added in v0.5.4

type Key func() (string, error)

Key provides a cache key.

func FileChecksum

func FileChecksum(file string) Key

FileChecksum creates a CacheKey for given file.

func FileStats added in v0.8.5

func FileStats(file string) Key

FileStats creates a CacheKey for given file.

func String

func String(s ...string) Key

String creates a CacheKey for given strings.

Jump to

Keyboard shortcuts

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