modfile_hdl

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(mfDecoders modfile.Decoders, mfGenerators modfile.Generators) *Handler

func (*Handler) GetModFile

func (h *Handler) GetModFile(dir dir_fs.DirFS) (fs.File, string, error)

func (*Handler) GetModule

func (h *Handler) GetModule(file fs.File) (*module.Module, error)

Jump to

Keyboard shortcuts

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