stdlib

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashDir added in v0.8.4

func HashDir(fs fs.ReadDirFS, dir string, prefix string, hash dirhash.Hash) (string, error)

func Mount

func Mount(ctx context.Context, importPath string, modRoot string) (*mod.Mod, error)

func RangeFile added in v0.8.4

func RangeFile(f fs.ReadDirFS, root string, each func(filename string) error) error

func Register

func Register(dirFs fs.ReadDirFS, version string, pkgs ...string)

func RepoRootForImportPath

func RepoRootForImportPath(repo string) (string, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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