Documentation ¶
Index ¶
Constants ¶
View Source
const (
//AMD64 amd664 arch
AMD64 = "amd64"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control struct { Package string `json:"-"` Version string `json:"-"` Source string `json:"source"` Depends string `json:"depends"` Architecture string `json:"-"` Maintainer string `json:"maintainer"` Conflicts string `json:"conflicts"` Section string `json:"section"` Homepage string `json:"homepage"` Description string `json:"description"` }
Control represents debian control structure
type Deb ¶
type Deb struct { Data *canonical `json:"-"` Control *canonical `json:"-"` Info Control `json:"control"` PreInst string `json':"pre_inst"` PostInst string `json':"post_inst"` PreRm string `json:"pre_rm"` PostRm string `json:"post_rm"` //A package declares its list of conffiles by including a conffiles file in its control archive ConfFiles string `json:"conf_files"` }
Deb represents a deb package
func (*Deb) AddEmptyFolder ¶
AddEmptyFolder adds empty folder to package
Click to show internal directories.
Click to hide internal directories.