var Signer = &signers.Signer{ Name: "starman", Magic: magic.FileTypeStarman, CertTypes: signers.CertTypePgp, Sign: sign, VerifyStream: verify, }
type File struct { Name string `json:"name"` Size int64 `json:"size"` Mode int `json:"mode"` Mtime int `json:"mtime"` Digest string `json:"digest"` Flags int `json:"flags"` UserName string `json:"username"` GroupName string `json:"groupname"` }
type TarMD struct { Name string `json:"name"` Arch string `json:"arch"` Version Version `json:"version"` Files []File `json:"files"` FileCheckSumType string `json:"file_checksum_type"` }
type Version struct { Epoch string `json:"epoch"` Version string `json:"version"` Release string `json:"release"` }