store

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const StoreDir = ".melon"

Variables

This section is empty.

Functions

func EntrypointPath

func EntrypointPath(projectDir string, dep resolver.ResolvedDep) string

EntrypointPath returns the absolute path to the dep's entrypoint markdown file.

func InstalledPath

func InstalledPath(projectDir string, dep resolver.ResolvedDep) string

InstalledPath returns the absolute path to dep's installed directory inside .melon/.

func List

func List(projectDir string) ([]resolver.ResolvedDep, error)

List returns all ResolvedDeps currently present in the .melon/ directory. Only Name and Version are populated; the caller cross-references melon.lock for full dep info.

func Remove

func Remove(projectDir string, dep resolver.ResolvedDep) error

Remove deletes dep's installed directory from the .melon/ cache. It is a no-op if the directory does not exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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