utility

package
v0.0.0-...-cb74e61 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIconDescriptors

func CreateIconDescriptors(absoluteIconPaths []string, basepath string) (models.Icons, error)

CreateIconDescriptors returns a sorted array of generated unique icon names, and the original file path.

func FileExists

func FileExists(filename string) bool

FileExists ...

func RelPath

func RelPath(basePth, pth string) (string, error)

RelPath ...

Types

type PackagesModel

type PackagesModel struct {
	Scripts         map[string]string `json:"scripts"`
	Dependencies    map[string]string `json:"dependencies"`
	DevDependencies map[string]string `json:"devDependencies"`
}

PackagesModel ...

func ParsePackagesJSON

func ParsePackagesJSON(packagesJSONPth string) (PackagesModel, error)

ParsePackagesJSON ...

Jump to

Keyboard shortcuts

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