Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareHash ¶
check if content and checksum matches returns the hash type if success else nil
func CopyFromFs ¶
func CopyFromFs(from billy.Filesystem, to billy.Filesystem, path string)
func IgnoredContains ¶
func IgnoredContains(a []*IgnoredSource, b string) bool
func StrContains ¶
Types ¶
type ImportMode ¶
type ImportMode interface { RetrieveSource(pd *ProcessData) *ModeData WriteSource(pd *ProcessData, md *ModeData) PostProcess(md *ModeData) ImportName(pd *ProcessData, md *ModeData) string }
type ProcessData ¶
type ProcessData struct { RpmLocation string UpstreamPrefix string SshKeyLocation string SshUser string Version int GitCommitterName string GitCommitterEmail string Mode int ModulePrefix string ImportBranchPrefix string BranchPrefix string SingleTag string Authenticator *ssh.PublicKeys Importer ImportMode BlobStorage blob.Storage NoDupMode bool ModuleMode bool TmpFsMode string NoStorageDownload bool NoStorageUpload bool ManualCommits []string UpstreamPrefixHttps string FsCreator func(branch string) billy.Filesystem }
Click to show internal directories.
Click to hide internal directories.