cran

package
v1.12.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Type string = "cran"

Variables

View Source
var (
	RelatedPath = "usr/lib/R/"
	RelatedFile = "DESCRIPTION"
)

Functions

func CheckRelatedFiles

func CheckRelatedFiles(file string) (string, bool, bool)

func Scan

func Scan(data interface{}) interface{}

Types

type Author

type Author struct {
	Name    string `json:"name,omitempty"`
	Role    string `json:"role,omitempty"`
	Email   string `json:"email,omitempty"`
	Comment string `json:"comment,omitempty"`
}

type DescriptionFile

type DescriptionFile struct {
	Package     string       `json:"package,omitempty"`
	Version     string       `json:"version,omitempty"`
	Date        string       `json:"date,omitempty"`
	Priority    string       `json:"priority,omitempty"`
	Title       string       `json:"title,omitempty"`
	Description string       `json:"description,omitempty"`
	Maintainers []Maintainer `json:"maintainers,omitempty"`
	Authors     []Author     `json:"authors,omitempty"`
	Depends     string       `json:"depends,omitempty"`
}

type Maintainer

type Maintainer struct {
	Name  string `json:"name,omitempty"`
	Email string `json:"email,omitempty"`
}

Jump to

Keyboard shortcuts

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