parser

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0, BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package parser provides functions for parsing and writing manifest and lockfile files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseLockfile

func ParseLockfile(path string, rw lockfile.ReadWriter) (*resolve.Graph, error)

ParseLockfile parses a lockfile file into a resolve.Graph.

func ParseManifest

func ParseManifest(path string, rw manifest.ReadWriter) (manifest.Manifest, error)

ParseManifest parses a manifest file into a manifest.Manifest.

func WriteLockfilePatches

func WriteLockfilePatches(path string, patches []result.Patch, rw lockfile.ReadWriter) error

WriteLockfilePatches writes the patches to the lockfile file.

func WriteManifestPatches

func WriteManifestPatches(path string, m manifest.Manifest, patches []result.Patch, rw manifest.ReadWriter) error

WriteManifestPatches writes the patches to the manifest file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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