Documentation ¶
Index ¶
- type Repository
- func (self *Repository) CopyASPToDir(package_name string, asp string, outdir string) error
- func (self *Repository) CopyPatchesToDir(package_name string, outdir string) error
- func (self *Repository) CopyTarballToDir(package_name string, tarball string, outdir string) error
- func (self *Repository) DeleteASPFile(package_name string, filename string) error
- func (self *Repository) DeleteASPFiles(package_name string, filename []string) error
- func (self *Repository) DeleteTarballFile(package_name string, filename string) error
- func (self *Repository) DeleteTarballFiles(package_name string, filename []string) error
- func (self *Repository) DetermineNewestStableTarball(package_name string) (string, error)
- func (self *Repository) GetASPsFilePath(package_name, filename string) string
- func (self *Repository) GetCachesDir() string
- func (self *Repository) GetDedicatedCachePath(name string) string
- func (self *Repository) GetPackageASPsPath(name string) string
- func (self *Repository) GetPackageCachePath(name string) string
- func (self *Repository) GetPackagePatchesPath(name string) string
- func (self *Repository) GetPackagePath(name string) string
- func (self *Repository) GetPackageSRSPath(name string) string
- func (self *Repository) GetPackageTarballsPath(name string) string
- func (self *Repository) GetRepositoryPath() string
- func (self *Repository) GetTarballDoneFilePath(package_name string, as_filename string) string
- func (self *Repository) GetTarballFilePath(package_name, filename string) string
- func (self *Repository) ListLocalASPFiles(package_name string) ([]string, error)
- func (self *Repository) ListLocalASPs(package_name string) ([]string, error)
- func (self *Repository) ListLocalTarballFiles(package_name string) ([]string, error)
- func (self *Repository) ListLocalTarballs(package_name string, done_only bool) ([]string, error)
- func (self *Repository) MoveInASP(filename string, copy bool) error
- func (self *Repository) MoveInTarball(filename string, copy bool) error
- func (self *Repository) PerformDownload(package_name string, as_filename string, uri string) error
- func (self *Repository) PerformPackagePatchesUpdate(name string) error
- func (self *Repository) PerformPackageSourcesUpdate(name string) error
- func (self *Repository) PerformPackageTarballsUpdate(name string) error
- func (self *Repository) PrepareTarballCleanupListing(package_name string, files_to_keep []string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(sys basictypes.SystemI, log *logger.Logger) (*Repository, error)
func (*Repository) CopyASPToDir ¶
func (self *Repository) CopyASPToDir(package_name string, asp string, outdir string) error
func (*Repository) CopyPatchesToDir ¶
func (self *Repository) CopyPatchesToDir( package_name string, outdir string, ) error
func (*Repository) CopyTarballToDir ¶
func (self *Repository) CopyTarballToDir( package_name string, tarball string, outdir string, ) error
func (*Repository) DeleteASPFile ¶
func (self *Repository) DeleteASPFile( package_name string, filename string, ) error
func (*Repository) DeleteASPFiles ¶
func (self *Repository) DeleteASPFiles(package_name string, filename []string) error
func (*Repository) DeleteTarballFile ¶
func (self *Repository) DeleteTarballFile( package_name string, filename string, ) error
func (*Repository) DeleteTarballFiles ¶
func (self *Repository) DeleteTarballFiles(package_name string, filename []string) error
func (*Repository) DetermineNewestStableTarball ¶
func (self *Repository) DetermineNewestStableTarball(package_name string) (string, error)
func (*Repository) GetASPsFilePath ¶
func (self *Repository) GetASPsFilePath(package_name, filename string) string
func (*Repository) GetCachesDir ¶
func (self *Repository) GetCachesDir() string
func (*Repository) GetDedicatedCachePath ¶
func (self *Repository) GetDedicatedCachePath(name string) string
func (*Repository) GetPackageASPsPath ¶
func (self *Repository) GetPackageASPsPath(name string) string
func (*Repository) GetPackageCachePath ¶
func (self *Repository) GetPackageCachePath(name string) string
func (*Repository) GetPackagePatchesPath ¶
func (self *Repository) GetPackagePatchesPath(name string) string
func (*Repository) GetPackagePath ¶
func (self *Repository) GetPackagePath(name string) string
func (*Repository) GetPackageSRSPath ¶
func (self *Repository) GetPackageSRSPath(name string) string
func (*Repository) GetPackageTarballsPath ¶
func (self *Repository) GetPackageTarballsPath(name string) string
func (*Repository) GetRepositoryPath ¶
func (self *Repository) GetRepositoryPath() string
func (*Repository) GetTarballDoneFilePath ¶
func (self *Repository) GetTarballDoneFilePath( package_name string, as_filename string, ) string
func (*Repository) GetTarballFilePath ¶
func (self *Repository) GetTarballFilePath(package_name, filename string) string
func (*Repository) ListLocalASPFiles ¶
func (self *Repository) ListLocalASPFiles(package_name string) ([]string, error)
func (*Repository) ListLocalASPs ¶
func (self *Repository) ListLocalASPs(package_name string) ([]string, error)
func (*Repository) ListLocalTarballFiles ¶
func (self *Repository) ListLocalTarballFiles(package_name string) ([]string, error)
func (*Repository) ListLocalTarballs ¶
func (self *Repository) ListLocalTarballs(package_name string, done_only bool) ([]string, error)
func (*Repository) MoveInTarball ¶
func (self *Repository) MoveInTarball(filename string, copy bool) error
func (*Repository) PerformDownload ¶
func (self *Repository) PerformDownload( package_name string, as_filename string, uri string, ) error
func (*Repository) PerformPackagePatchesUpdate ¶
func (self *Repository) PerformPackagePatchesUpdate(name string) error
func (*Repository) PerformPackageSourcesUpdate ¶
func (self *Repository) PerformPackageSourcesUpdate(name string) error
func (*Repository) PerformPackageTarballsUpdate ¶
func (self *Repository) PerformPackageTarballsUpdate(name string) error
func (*Repository) PrepareTarballCleanupListing ¶
func (self *Repository) PrepareTarballCleanupListing( package_name string, files_to_keep []string, ) ([]string, error)
Click to show internal directories.
Click to hide internal directories.