storepath

package
v0.0.0-...-15c7053 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package storepath provides shared internal logic for store paths.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeDigest

func MakeDigest(h hash.Hash, dir string, hash nix.Hash, name string) string

MakeDigest computes the digest of a store path. h must be a SHA-256 hash (as obtained by crypto/sha256.New) and the type must have already been written to it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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