Documentation ¶
Index ¶
- type VersionTree
- func (self *VersionTree) Add(basename string) error
- func (self *VersionTree) Basenames(extensions_preferred_order []string) ([]string, error)
- func (self *VersionTree) RestoreBase(directory *directory.File, value []string, as_name int) error
- func (self *VersionTree) TreeString() (string, error)
- func (self *VersionTree) TruncateByVersionDepth(dir *directory.File, depth int) error
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 (*VersionTree) TreeString ¶
func (self *VersionTree) TreeString() (string, error)
func (*VersionTree) TruncateByVersionDepth ¶
func (self *VersionTree) TruncateByVersionDepth( dir *directory.File, depth int, ) error
Click to show internal directories.
Click to hide internal directories.