tarballversion

package
v0.0.0-...-cf07509 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionTree

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

func NewVersionTree

func NewVersionTree(
	tarball_name string,
	tarball_name_is_regexp bool,
	tarball_name_parser types.TarballNameParserI,
	not_filenames bool,
	comparator types2.VersionComparatorI,
) (*VersionTree, error)

func (*VersionTree) Add

func (self *VersionTree) Add(basename string) error

func (*VersionTree) Basenames

func (self *VersionTree) Basenames(
	extensions_preferred_order []string,
) ([]string, error)

func (*VersionTree) RestoreBase

func (self *VersionTree) RestoreBase(
	directory *directory.File,
	value []string,
	as_name int,
) error

func (*VersionTree) TreeString

func (self *VersionTree) TreeString() (string, error)

func (*VersionTree) TruncateByVersionDepth

func (self *VersionTree) TruncateByVersionDepth(
	dir *directory.File,
	depth int,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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