pkg/fleet-unit/unit.go
exported function NewUnitState should have comment or be unexported Open
Open
func NewUnitState(loadState, activeState, subState, mID string) *UnitState {
- Exclude checks
exported function NewUnitFromOptions should have comment or be unexported Open
Open
func NewUnitFromOptions(opts []*unit.UnitOption) *UnitFile {
- Exclude checks
exported method Hash.Short should have comment or be unexported Open
Open
func (h Hash) Short() string {
- Exclude checks
exported method UnitFile.Bytes should have comment or be unexported Open
Open
func (u *UnitFile) Bytes() []byte {
- Exclude checks
type name will be used as unit.UnitState by other packages, and that stutters; consider calling this State Open
Open
type UnitState struct {
- Exclude checks
exported method Hash.Empty should have comment or be unexported Open
Open
func (h *Hash) Empty() bool {
- Exclude checks
type name will be used as unit.UnitNameInfo by other packages, and that stutters; consider calling this NameInfo Open
Open
type UnitNameInfo struct {
- Exclude checks
exported function NewUnitFile should have comment or be unexported Open
Open
func NewUnitFile(raw string) (*UnitFile, error) {
- Exclude checks
comment on exported type Hash should be of the form "Hash ..." (with optional leading article) Open
Open
// SHA1 sum
- Exclude checks
type name will be used as unit.UnitFile by other packages, and that stutters; consider calling this File Open
Open
type UnitFile struct {
- Exclude checks
exported function HashFromHexString should have comment or be unexported Open
Open
func HashFromHexString(key string) (Hash, error) {
- Exclude checks