Documentation ¶
Overview ¶
Package archive handles the library release archive.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct { SourcePath string RootName string // Name of the root folder inside the archive. FileName string Path string // Full path of the archive. URL string // URL the archive will have on the download server. Size int64 Checksum string }
Archive is the type for library release archive data.
func New ¶
func New(repository *libraries.Repository, libraryMetadata *metadata.LibraryMetadata, config *configuration.Config) (*Archive, error)
New initializes and returns an Archive object.
Click to show internal directories.
Click to hide internal directories.