source

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidPlatform = errors.New("invalid platform")

Functions

This section is empty.

Types

type Archive

type Archive = archive.TarXZ[Source]

type Source

type Source struct {
	// contains filtered or unexported fields
}

An 'Artifact' representing Godot source code for a specific version.

func New

func New(v version.Version) Source

Creates a new 'Source' for the specified 'Version'.

func (Source) Archivable

func (s Source) Archivable()

Allows 'Source' to be used by 'Archive' implementation.

func (Source) Name

func (s Source) Name() string

Returns the name of the Godot source directory for the specified 'Version'.

NOTE: Godot names its executables in the format 'godot-<VERSION>'.

func (Source) String

func (s Source) String() string

func (Source) Version

func (s Source) Version() version.Version

Jump to

Keyboard shortcuts

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