Documentation ¶
Index ¶
- func BackgroundServiceWarning(syncName string)
- func CheckBackgroundService(syncName string) (ok bool)
- func CheckSyncService(syncName string) error
- func CreateOrUpdatePrf(unisonPort, prfName, syncPath string)
- func CreateSyncService(syncName, syncDir string)
- func DockerUp()
- func LocalPort() string
- func RestartSyncService(syncName string)
- func StopSyncService(syncName string)
- func Sync(syncName string)
- func SyncServiceStatus(syncName string) string
- func SystemCompatibilityChecks()
- func UnloadSyncService(syncName string)
- func Watch(syncName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackgroundServiceWarning ¶
func BackgroundServiceWarning(syncName string)
BackgroundServiceWarning - Check if the background sync service is running and warn if not
func CheckBackgroundService ¶
CheckBackgroundService - Returns true or false based on whether the sync service is running
func CheckSyncService ¶
CheckSyncService a verbose sync status check used for tok status
func CreateOrUpdatePrf ¶
func CreateOrUpdatePrf(unisonPort, prfName, syncPath string)
CreateOrUpdatePrf - Create or Update a `.prf` file in `~/.unison/`
func CreateSyncService ¶
func CreateSyncService(syncName, syncDir string)
CreateSyncService Register a launchd or systemctl service for Unison active sync
func StopSyncService ¶
func StopSyncService(syncName string)
StopSyncService stop systemd sync service
func UnloadSyncService ¶
func UnloadSyncService(syncName string)
UnloadSyncService will uninstall the sync service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.