metadata

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package metadata handles library.properties metadata.

The functions in this package helps on parsing/validation of library.properties metadata. All metadata are parsed into a LibraryMetadata structure.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LibraryMetadata

type LibraryMetadata struct {
	Name          string
	Version       string
	Author        string
	Maintainer    string
	License       string
	Sentence      string
	Paragraph     string
	URL           string
	Architectures string
	Category      string
	Types         []string
	Includes      string
	Depends       string
}

LibraryMetadata contains metadata for a library.properties file

func Parse

func Parse(propertiesData []byte) (*LibraryMetadata, error)

Parse makes a LibraryMetadata by parsing a library.properties file contained in a byte array

Jump to

Keyboard shortcuts

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