Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RsyncDefaultOpts = []string{"-av", "--delete"}
Functions ¶
func CleanupSymlink ¶
func DeployWithSymlink ¶
Atomic deploy by symlink 1. rsync maindir => backupdir 2. mv -T backuplink destdir 3. rsync srcdir => maindir 4. mv -T mainlink destdir
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.