recorder

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2016 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LibraryRecorder

type LibraryRecorder interface {
	SetDescription(desc string)
	SetHomepage(url string)
	SetRepository(url string, format string)
	SetStars(int)
	SetEmail(string)
	AddVersion(v semver.Version) VersionRecorder
}

type Recorder

type Recorder interface {
	// Create library if it doesn't already exist.  Otherwise, return
	// recorder for existing library
	// The first argument, 'name', is the name of the library (in Modelica terms).
	// The second argument, 'uri', is a URI indicating precisely what library this
	//   is.  This helps address things like forks, etc.
	// The third argument is the owner (as a URI)
	GetLibrary(name string, uri string, owner_uri string) LibraryRecorder
}

type VersionRecorder

type VersionRecorder interface {
	SetHash(hash string)
	SetTarballURL(url string)
	SetZipballURL(url string)
	SetPath(path string, file bool)
	AddDependency(library string, version semver.Version)
}

Jump to

Keyboard shortcuts

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