internal

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package internal contains the internal implementation of our module copier

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(fileToCopy, dest, packageName string) error

CopyFile copies a single go file. This will not bring dependencies.

func CopyModule

func CopyModule(toCopy, dest, packageName string) error

CopyModule copies a module path to a destination.

func GetModulePath

func GetModulePath(dependencyName string) (modPath string, err error)

GetModulePath gets the module path for a dependency for example, for ethereum, dependencyName would be github.com/ethereum/go-ethereum note: we keep this in place w/ packager so tests can determine valid resolution pkger is safe to use directly with the tests in place.

Types

This section is empty.

Jump to

Keyboard shortcuts

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