Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ListingURL is the location of the KDE FTP file listing ListingURL = "https://download.kde.org/ls-lR.bz2" // ListingPrefix is the prefix of all paths in the KDE listing that is hidden by HTTP ListingPrefix = "/srv/archives/ftp/" // SourceFormat4 is the string format for KDE sources with 4 pieces SourceFormat4 = "https://download.kde.org/%s/%s/%s/%s-%s.tar.xz" // SourceFormat5 is the string format for KDE sources with 5 pieces SourceFormat5 = "https://download.kde.org/%s/%s/%s/%s/%s-%s.tar.xz" // SourceFormat6 is the string format for KDE sources with 6 pieces SourceFormat6 = "https://download.kde.org/%s/%s/%s/%s/%s/%s-%s.tar.xz" )
Variables ¶
View Source
var TarballRegex = regexp.MustCompile("https?://.*download.kde.org/(.+)")
TarballRegex matches KDE sources
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.