pkg

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

パッケージビルド関連

パッケージメタ情報関連

Package型とその操作

Index

Constants

This section is empty.

Variables

View Source
var ErrSRCINFONotFound = fmt.Errorf(".SRCINFO not found")

Functions

This section is empty.

Types

type Package

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

func GetPkgFromBin

func GetPkgFromBin(bin string, r io.Reader) (*Package, error)

GetPkgFromBinは、指定されたパスからパッケージを取得します。

func GetPkgFromBinFile

func GetPkgFromBinFile(bin string) (*Package, error)

func GetPkgFromSrc

func GetPkgFromSrc(dir string) (*Package, error)

func (*Package) Build

func (p *Package) Build(target *builder.Target, dest string) error

func (*Package) GetPkgFileNames

func (p *Package) GetPkgFileNames() ([]string, error)

func (*Package) MustPKGINFO

func (p *Package) MustPKGINFO() *raiou.PKGINFO

func (*Package) Names

func (p *Package) Names() []string

func (*Package) PKGINFO

func (p *Package) PKGINFO() (*raiou.PKGINFO, error)

func (*Package) SRCINFO

func (p *Package) SRCINFO() (*raiou.SRCINFO, error)

Directories

Path Synopsis
ビルダー定義
ビルダー定義

Jump to

Keyboard shortcuts

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