dismparser

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package dismparser has methods that can be used to parse DISM output

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrParsingError indicates an error while parsing the DISM output.
	ErrParsingError = errors.New("Could not parse DISM output successfully")
)

Functions

This section is empty.

Types

type DismPkg

type DismPkg struct {
	PackageIdentity string
	PackageVersion  string
	State           string
	ReleaseType     string
	InstallTime     string
}

DismPkg reports information about a package as reported by the DISM tool.

func Parse

func Parse(input string) ([]DismPkg, string, error)

Parse parses dism output into an array of dismPkgs.

Jump to

Keyboard shortcuts

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