unison

package
v0.0.0-...-4c37742 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2020 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

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

func CheckBackgroundService(syncName string) (ok bool)

CheckBackgroundService - Returns true or false based on whether the sync service is running

func CheckSyncService

func CheckSyncService(syncName string) error

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 DockerUp

func DockerUp()

DockerUp - Lift the unison container

func LocalPort

func LocalPort() string

LocalPort - Return the local port for unison

func RestartSyncService

func RestartSyncService(syncName string)

RestartSyncService ...

func StopSyncService

func StopSyncService(syncName string)

StopSyncService stop systemd sync service

func Sync

func Sync(syncName string)

Sync - Sync once without watching

func SyncServiceStatus

func SyncServiceStatus(syncName string) string

SyncServiceStatus ...

func SystemCompatibilityChecks

func SystemCompatibilityChecks()

SystemCompatibilityChecks ...

func UnloadSyncService

func UnloadSyncService(syncName string)

UnloadSyncService will uninstall the sync service

func Watch

func Watch(syncName string)

Watch ...

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL