Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSyncer ¶
func NewSyncer(fs io.Filesystem) *syncer
func Sync ¶
func Sync(config SyncConfig) error
Types ¶
type FileMismatchIssue ¶
type FileMismatchIssue string
const ( MissingFromTarget FileMismatchIssue = "missing from target" MissingFromSource FileMismatchIssue = "missing from source" FileCollision FileMismatchIssue = "file collision" )
type Mismatch ¶
type Mismatch struct { From string To string Issue FileMismatchIssue }
type SyncConfig ¶
Click to show internal directories.
Click to hide internal directories.