Documentation ¶
Index ¶
- Constants
- Variables
- func DBusInterfaceId() string
- func DBusMethod(conn *dbus.Conn, methodName string, args ...any) *dbus.Call
- func DBusMethodName(name string) string
- func DBusMethodP(conn *dbus.Conn, methodName, panicMessage string, args ...any)
- func DBusObject(conn *dbus.Conn) dbus.BusObject
- func DBusObjectPath() dbus.ObjectPath
- type ConfigFileLayout
- type ImportLoopData
- type InfoInterface
- type Rule
- type RuleConfigLayout
- type RulesHistory
- func (r RulesHistory) Contains(url string, name string) bool
- func (r RulesHistory) IsRuleInProgress(url string, name string) bool
- func (r RulesHistory) Push(url string, nameOrScript string, isInProgress, isScript bool)
- func (r RulesHistory) SetProgress(url string, nameOrScript string, isInProgress bool)
Constants ¶
View Source
const ConfigFilename = "spito.yml"
View Source
const LockFilename = "spito-lock.yml"
Variables ¶
View Source
var LocalStateSpitoPath = filepath.Join(path.UserHomeDir, ".local/state/spito")
Functions ¶
func DBusInterfaceId ¶
func DBusInterfaceId() string
func DBusMethod ¶
func DBusMethodName ¶
func DBusMethodP ¶
func DBusObject ¶
func DBusObject(conn *dbus.Conn) dbus.BusObject
func DBusObjectPath ¶
func DBusObjectPath() dbus.ObjectPath
Types ¶
type ConfigFileLayout ¶
type ConfigFileLayout struct { RepoUrl string `yaml:"repo_url"` GitPrefix string `yaml:"git_prefix"` Identifier string Rules map[string]RuleConfigLayout Description string Branch string Dependencies map[string][]string }
func (ConfigFileLayout) GetRuleConf ¶
func (s ConfigFileLayout) GetRuleConf(ruleName string) (RuleConfigLayout, error)
type ImportLoopData ¶
type ImportLoopData struct { VRCT vrct.RuleVRCT InfoApi InfoInterface RulesHistory RulesHistory ErrChan chan error PackageTracker package_conflict.PackageConflictTracker Options []string DaemonTracker daemon_tracker.DaemonTracker DbusConn *dbus.Conn GuiMode bool }
func (*ImportLoopData) DeleteRuntimeTemp ¶
func (i *ImportLoopData) DeleteRuntimeTemp() error
type InfoInterface ¶
type Rule ¶
type Rule struct { Url string NameOrScript string IsScript bool // contains filtered or unexported fields }
func (Rule) GetIdentifier ¶
type RuleConfigLayout ¶
type RulesHistory ¶
func (RulesHistory) IsRuleInProgress ¶
func (r RulesHistory) IsRuleInProgress(url string, name string) bool
func (RulesHistory) Push ¶
func (r RulesHistory) Push(url string, nameOrScript string, isInProgress, isScript bool)
func (RulesHistory) SetProgress ¶
func (r RulesHistory) SetProgress(url string, nameOrScript string, isInProgress bool)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.