uibundles

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "UIBundle"

Variables

This section is empty.

Functions

This section is empty.

Types

type UIBundle

type UIBundle struct {
	metadata.MetadataInfo
	XMLName     xml.Name `xml:"UIBundle"`
	Xmlns       string   `xml:"xmlns,attr"`
	MasterLabel *struct {
		Text string `xml:",chardata"`
	} `xml:"masterLabel"`
	Description *struct {
		Text string `xml:",chardata"`
	} `xml:"description"`
	IsActive *struct {
		Text string `xml:",chardata"`
	} `xml:"isActive"`
	Version *struct {
		Text string `xml:",chardata"`
	} `xml:"version"`
	BundleFiles map[string][]byte `xml:"-"`
	SourcePath  string            `xml:"-"`
}

func Open

func Open(path string) (*UIBundle, error)

func (*UIBundle) Files

func (c *UIBundle) Files(format metadata.Format) (map[string][]byte, error)

func (*UIBundle) SetMetadata

func (c *UIBundle) SetMetadata(m metadata.MetadataInfo)

func (*UIBundle) Type

func (c *UIBundle) Type() metadata.MetadataType

Jump to

Keyboard shortcuts

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